Await on notebook.cell.execute command in tests (#255111)

This commit is contained in:
Don Jayamanne
2025-07-10 21:22:38 +10:00
committed by GitHub
parent bc99eaeebb
commit 7b269dac03

View File

@@ -213,7 +213,7 @@ suite('Notebook Kernel API tests', function () {
}
}));
vscode.commands.executeCommand('notebook.cell.execute', { document: notebook.uri, ranges: [{ start: 0, end: 1 }, { start: 1, end: 2 }] });
await vscode.commands.executeCommand('notebook.cell.execute', { document: notebook.uri, ranges: [{ start: 0, end: 1 }, { start: 1, end: 2 }] });
await def.p;
await saveAllFilesAndCloseAll();