A platform for community discussion. Free, open, simple.
DEV: Correct error message check in run-qunit
David Taylor8dcda6583757
diff --git a/test/run-qunit.js b/test/run-qunit.jsindex f7800181e7b..57a0676b47c 100644--- a/test/run-qunit.js+++ b/test/run-qunit.js@@ -63,7 +63,7 @@ async function runAllTests() {try {protocol = await CDP({ port: chrome.port });} catch (e) {- if (e === "No inspectable targets" && connectAttempts < 50) {+ if (e.message === "No inspectable targets" && connectAttempts < 50) {connectAttempts++;console.log("Unable to establish connection to chrome target - trying again..."