File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
- import { debugPrint , getFullUrl , waitFor } from 'next-test-utils'
1
+ import { debugPrint , getFullUrl } from 'next-test-utils'
2
2
import os from 'os'
3
3
import {
4
4
Playwright ,
@@ -210,13 +210,5 @@ export default async function webdriver(
210
210
debugPrint ( `Hydration complete for ${ fullUrl } ` )
211
211
}
212
212
213
- // This is a temporary workaround for turbopack starting watching too late.
214
- // So we delay file changes to give it some time
215
- // to connect the WebSocket and start watching.
216
- // TODO: Is this still needed? Can we wait in a more useful way, like a socket connection event?
217
- if ( process . env . IS_TURBOPACK_TEST && process . env . TURBOPACK_DEV ) {
218
- debugPrint ( `Waiting for for turbopack watcher to start` )
219
- await waitFor ( 1000 )
220
- }
221
213
return browser
222
214
}
You can’t perform that action at this time.
0 commit comments