Skip to content

Commit

Permalink
use anonymous function for main
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Jun 15, 2023
1 parent 0a49728 commit d9f004b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/test-harness/src/scripts/runTestsCI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getCursorlessRepoRoot } from "@cursorless/common";
import * as path from "path";
import { launchVscodeAndRunTests } from "../util/launchVscodeAndRunTests";

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

await launchVscodeAndRunTests(extensionTestsPath);
}

main();
})();

0 comments on commit d9f004b

Please sign in to comment.