mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
Fix timing issue (fixes #61748)
This commit is contained in:
@@ -422,6 +422,7 @@ suite('window namespace tests', () => {
|
||||
canPickMany: true
|
||||
});
|
||||
const first = new Promise(resolve => resolves.push(resolve));
|
||||
await new Promise(resolve => setTimeout(resolve, 10)); // Allow UI to update.
|
||||
await commands.executeCommand('workbench.action.quickOpenSelectNext');
|
||||
assert.equal(await first, 'eins');
|
||||
await commands.executeCommand('workbench.action.quickPickManyToggle');
|
||||
|
||||
Reference in New Issue
Block a user