Skip to content

Commit 7b269da

Browse files
authored
Await on notebook.cell.execute command in tests (microsoft#255111)
1 parent bc99eae commit 7b269da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/vscode-api-tests/src/singlefolder-tests/notebook.kernel.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ suite('Notebook Kernel API tests', function () {
213213
}
214214
}));
215215

216-
vscode.commands.executeCommand('notebook.cell.execute', { document: notebook.uri, ranges: [{ start: 0, end: 1 }, { start: 1, end: 2 }] });
216+
await vscode.commands.executeCommand('notebook.cell.execute', { document: notebook.uri, ranges: [{ start: 0, end: 1 }, { start: 1, end: 2 }] });
217217

218218
await def.p;
219219
await saveAllFilesAndCloseAll();

0 commit comments

Comments
 (0)