Unverified Commit cb2ba0c7 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix invalid config warning for runtime config (#38122)

parent 1feaac03
......@@ -509,6 +509,7 @@ export const defaultConfig: NextConfig = {
swcMinify: false,
output: !!process.env.NEXT_PRIVATE_STANDALONE ? 'standalone' : undefined,
experimental: {
runtime: undefined,
manualClientBasePath: false,
// TODO: change default in next major release (current v12.1.5)
legacyBrowsers: true,
......
......@@ -61,6 +61,11 @@ function runTestsAgainstRuntime(runtime) {
)
})
}
it('should not have invalid config warning', async () => {
await renderViaHTTP(context.appPort, '/')
expect(context.stderr).not.toContain('not exist in this version')
})
},
{
beforeAll: (env) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment