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 d81e00c commit ab208a3Copy full SHA for ab208a3
packages/cursorless-vscode-e2e/src/suite/scopeProvider/runCustomRegexScopeInfoTest.ts
@@ -33,6 +33,10 @@ export async function runCustomRegexScopeInfoTest() {
33
await assertCalledWithScopeInfo(fake, unsupported);
34
35
await openNewEditor(contents);
36
+ // The scope provider relies on the open document event (among others) to
37
+ // update available scopes. Add a short sleep here to give it time to
38
+ // trigger.
39
+ await sleep(100);
40
await assertCalledWithScopeInfo(fake, present);
41
42
await unlink(cursorlessTalonStateJsonPath);
0 commit comments