Skip to content

Commit 00a10ae

Browse files
committed
Tweak
1 parent f4be037 commit 00a10ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cursorless-vscode-e2e/src/suite/scopeProvider/runCustomRegexScopeInfoTest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
ScopeSupportInfo,
66
ScopeSupportLevels,
77
ScopeType,
8+
sleep,
89
} from "@cursorless/common";
910
import Sinon = require("sinon");
1011
import {
@@ -48,6 +49,9 @@ export async function runCustomRegexScopeInfoTest() {
4849
try {
4950
await stat(spokenFormsJsonPath);
5051
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);
5155
} catch (e) {
5256
// Do nothing
5357
}

0 commit comments

Comments
 (0)