aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-03-11 10:51:06 -0400
committerTimmy Willison <timmywil@users.noreply.github.com>2024-03-11 13:29:23 -0400
commitfedffe7448b9e2328b43641158335be18eff5f69 (patch)
tree13ba8853781e243d04fe03b7888b5511d8e01213 /test/runner
parent783c9d6958fd20a6a9a199aeecad605a59686992 (diff)
downloadjquery-fedffe7448b9e2328b43641158335be18eff5f69.tar.gz
jquery-fedffe7448b9e2328b43641158335be18eff5f69.zip
Tests: fix worker restarts for failed browser acknowledgements
Close gh-5440
Diffstat (limited to 'test/runner')
-rw-r--r--test/runner/browserstack/browsers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner/browserstack/browsers.js b/test/runner/browserstack/browsers.js
index 218d13fe7..6489cf965 100644
--- a/test/runner/browserstack/browsers.js
+++ b/test/runner/browserstack/browsers.js
@@ -92,7 +92,7 @@ async function ensureAcknowledged( worker ) {
return worker;
} catch ( error ) {
console.error( error.message );
- await restartWorker( worker.browser );
+ await restartWorker( worker );
}
}