File tree 1 file changed +0
-26
lines changed
test/integration/config-experimental-warning/test
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,6 @@ async function collectStdout(appDir) {
19
19
return stdout
20
20
}
21
21
22
- async function collectStderr ( appDir ) {
23
- let stderr = ''
24
- const port = await findPort ( )
25
- app = await launchApp ( appDir , port , {
26
- onStderr ( msg ) {
27
- stderr += msg
28
- } ,
29
- } )
30
- return stderr
31
- }
32
-
33
22
describe ( 'Config Experimental Warning' , ( ) => {
34
23
afterEach ( ( ) => {
35
24
configFile . write ( '' )
@@ -123,19 +112,4 @@ describe('Config Experimental Warning', () => {
123
112
expect ( stdout ) . toMatch ( ' · workerThreads' )
124
113
expect ( stdout ) . toMatch ( ' · scrollRestoration' )
125
114
} )
126
-
127
- it ( 'should show warning for dropped experimental.appDir option' , async ( ) => {
128
- configFile . write ( `
129
- module.exports = {
130
- experimental: {
131
- appDir: true,
132
- }
133
- }
134
- ` )
135
-
136
- const stderr = await collectStderr ( appDir )
137
- expect ( stderr ) . toMatch (
138
- 'App router is available by default now, `experimental.appDir` option can be safely removed.'
139
- )
140
- } )
141
115
} )
You can’t perform that action at this time.
0 commit comments