Adjust the rest of the test expectations
Our expectation was quite narrow: we expect to not call an `openFolder` command. We didn't specify any params for it, which might mean this expectation wasn't working like it should. Let's just check that `executeCommand` isn't called at all.
This commit is contained in:
@@ -636,7 +636,7 @@ describe("prepareCodeTour", () => {
|
||||
|
||||
await prepareCodeTour();
|
||||
|
||||
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
|
||||
expect(commandSpy).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -653,7 +653,7 @@ describe("prepareCodeTour", () => {
|
||||
|
||||
await prepareCodeTour();
|
||||
|
||||
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
|
||||
expect(commandSpy).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -665,7 +665,7 @@ describe("prepareCodeTour", () => {
|
||||
|
||||
await prepareCodeTour();
|
||||
|
||||
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
|
||||
expect(commandSpy).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user