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 f4be037 commit 00a10aeCopy full SHA for 00a10ae
packages/cursorless-vscode-e2e/src/suite/scopeProvider/runCustomRegexScopeInfoTest.ts
@@ -5,6 +5,7 @@ import {
5
ScopeSupportInfo,
6
ScopeSupportLevels,
7
ScopeType,
8
+ sleep,
9
} from "@cursorless/common";
10
import Sinon = require("sinon");
11
import {
@@ -48,6 +49,9 @@ export async function runCustomRegexScopeInfoTest() {
48
49
try {
50
await stat(spokenFormsJsonPath);
51
await unlink(spokenFormsJsonPath);
52
+ // Sleep to ensure that the scope support provider has time to update
53
+ // before the next test starts
54
+ await sleep(50);
55
} catch (e) {
56
// Do nothing
57
}
0 commit comments