We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4282c4b commit bb988f3Copy full SHA for bb988f3
packages/cursorless-engine/src/runIntegrationTests.ts
@@ -2,7 +2,6 @@ import { languageMatchers } from "./languages/getNodeMatcher";
2
import { TreeSitter } from "./typings/TreeSitter";
3
import { legacyLanguageIds } from "./languages/LegacyLanguageId";
4
import { LanguageDefinitions } from "./languages/LanguageDefinitions";
5
-import assert from "assert";
6
import { unsafeKeys } from "./util/object";
7
8
/**
@@ -42,5 +41,7 @@ async function assertNoScopesBothLegacyAndNew(
42
41
});
43
}
44
45
- assert.deepStrictEqual(errors, []);
+ if (errors.length > 0) {
+ throw Error(errors.join("\n"));
46
+ }
47
0 commit comments