We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa7ed8 commit 0754d59Copy full SHA for 0754d59
test/runner/run.js
@@ -170,21 +170,21 @@ export async function run( {
170
async function cleanup() {
171
console.log( "Cleaning up..." );
172
173
+ await cleanupAllBrowsers( { verbose } );
174
+ cleanupAllJSDOM( { verbose } );
175
+
176
if ( tunnel ) {
177
await tunnel.stop();
178
if ( verbose ) {
179
console.log( "Stopped BrowserStackLocal." );
180
}
181
-
- await cleanupAllBrowsers( { verbose } );
- cleanupAllJSDOM( { verbose } );
182
183
184
asyncExitHook(
185
async() => {
186
- await stopServer();
187
await cleanup();
+ await stopServer();
188
},
189
{ wait: EXIT_HOOK_WAIT_TIMEOUT }
190
);
0 commit comments