test: saveAll before asserting a certain save event
This commit is contained in:
parent
6158372c89
commit
bcdf991bd4
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ suite('workspace-namespace', () => {
|
|||
const file = await createRandomFile();
|
||||
let disposables: vscode.Disposable[] = [];
|
||||
|
||||
await vscode.workspace.saveAll();
|
||||
|
||||
let pendingAsserts: Function[] = [];
|
||||
let onDidOpenTextDocument = false;
|
||||
disposables.push(vscode.workspace.onDidOpenTextDocument(e => {
|
||||
|
|
Loading…
Reference in a new issue