Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0754d59

Browse files
committed
Tests: fix cleanup in cases where server doesn't stop
1 parent5aa7ed8 commit0754d59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎test/runner/run.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,21 +170,21 @@ export async function run( {
170170
asyncfunctioncleanup(){
171171
console.log("Cleaning up...");
172172

173+
awaitcleanupAllBrowsers({ verbose});
174+
cleanupAllJSDOM({ verbose});
175+
173176
if(tunnel){
174177
awaittunnel.stop();
175178
if(verbose){
176179
console.log("Stopped BrowserStackLocal.");
177180
}
178181
}
179-
180-
awaitcleanupAllBrowsers({ verbose});
181-
cleanupAllJSDOM({ verbose});
182182
}
183183

184184
asyncExitHook(
185185
async()=>{
186-
awaitstopServer();
187186
awaitcleanup();
187+
awaitstopServer();
188188
},
189189
{wait:EXIT_HOOK_WAIT_TIMEOUT}
190190
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp