Skip to content

Commit d76600a

Browse files
Catch activation error
1 parent a40854c commit d76600a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

packages/cursorless-everywhere-talon-e2e/src/quickjsTest.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ import talonMock from "./talonMock";
66
let hasFailed = false;
77

88
async function runTests() {
9-
await activate(talonMock, "test");
9+
try {
10+
await activate(talonMock, "test");
1011

11-
console.log();
12-
console.log("Running quickjs tests");
12+
console.log();
13+
console.log("Running quickjs tests");
1314

14-
await test("testTake", testTake);
15-
await test("testChuck", testChuck);
15+
await test("testTake", testTake);
16+
await test("testChuck", testChuck);
17+
} catch (_error) {
18+
hasFailed = true;
19+
}
1620

1721
std.exit(hasFailed ? 1 : 0);
1822
}

0 commit comments

Comments
 (0)