Skip to content

Commit d9f004b

Browse files
committed
use anonymous function for main
1 parent 0a49728 commit d9f004b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/test-harness/src/scripts/runTestsCI.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { getCursorlessRepoRoot } from "@cursorless/common";
66
import * as path from "path";
77
import { launchVscodeAndRunTests } from "../util/launchVscodeAndRunTests";
88

9-
async function main() {
9+
(async function main() {
1010
// Note that we run all tests, including unit tests, in VSCode, even though
1111
// unit tests could be run separately. If we wanted to run unit tests
1212
// separately, we could instead use `../runners/endToEndOnly` instead of
@@ -18,6 +18,4 @@ async function main() {
1818
);
1919

2020
await launchVscodeAndRunTests(extensionTestsPath);
21-
}
22-
23-
main();
21+
})();

0 commit comments

Comments
 (0)