Files
next.js/test/e2e/app-dir/navigation/next.config.js
Jiwon ChoiandGitHub f0887fa068 test: replace explicit padding-bottom with devIndicators: false for scroll position testing (#76105)
### Why?

There were explicit `paddingBottom: 60` set to fixtures due to the dev
indicator blocking the scroll position. Since an option to disable it
was added at https://github.com/vercel/next.js/pull/76079, this PR
replaced them with `devIndicators: false`.

x-ref:
https://github.com/vercel/next.js/pull/76077#discussion_r1957164641
2025-02-18 06:03:58 +09:00

16 lines
332 B
JavaScript

/** @type {import('next').NextConfig} */
module.exports = {
redirects: () => {
return [
{
source: '/redirect/a',
destination: '/redirect-dest',
permanent: false,
},
]
},
// scroll position can be finicky with the
// indicators showing so hide by default
devIndicators: false,
}