mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: fix worker restarts for failed browser acknowledgements
Close gh-5440
This commit is contained in:
parent
783c9d6958
commit
fedffe7448
@ -92,7 +92,7 @@ async function ensureAcknowledged( worker ) {
|
|||||||
return worker;
|
return worker;
|
||||||
} catch ( error ) {
|
} catch ( error ) {
|
||||||
console.error( error.message );
|
console.error( error.message );
|
||||||
await restartWorker( worker.browser );
|
await restartWorker( worker );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user