File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,6 @@ describe(`app-dir-hmr`, () => {
138
138
} )
139
139
140
140
it ( 'should update server components pages when env files is changed (nodejs)' , async ( ) => {
141
- // If "should update server components after navigating to a page with a different runtime" failed, the dev server is in a corrupted state.
142
- // Restart fixes this.
143
- await next . stop ( )
144
- await next . start ( )
145
-
146
141
const envContent = await next . readFile ( envFile )
147
142
const browser = await next . browser ( '/env/node' )
148
143
expect ( await browser . elementByCss ( 'p' ) . text ( ) ) . toBe ( 'mac' )
@@ -191,10 +186,6 @@ describe(`app-dir-hmr`, () => {
191
186
} )
192
187
193
188
it ( 'should update server components pages when env files is changed (edge)' , async ( ) => {
194
- // Restart to work around a bug highlighted in the flakiness of "should update server components after navigating to a page with a different runtime"
195
- await next . stop ( )
196
- await next . start ( )
197
-
198
189
const envContent = await next . readFile ( envFile )
199
190
const browser = await next . browser ( '/env/edge' )
200
191
expect ( await browser . elementByCss ( 'p' ) . text ( ) ) . toBe ( 'mac' )
You can’t perform that action at this time.
0 commit comments