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:
Elena Tanasoiu
2023-03-21 08:53:25 +00:00
parent 782e413c64
commit 8db9f52df3

View File

@@ -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();
});
});
});