Skip to content

Commit 8db9f52

Browse files
committed
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.
1 parent 782e413 commit 8db9f52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/ql-vscode/test/vscode-tests/no-workspace/helpers.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ describe("prepareCodeTour", () => {
636636

637637
await prepareCodeTour();
638638

639-
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
639+
expect(commandSpy).not.toHaveBeenCalled();
640640
});
641641
});
642642
});
@@ -653,7 +653,7 @@ describe("prepareCodeTour", () => {
653653

654654
await prepareCodeTour();
655655

656-
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
656+
expect(commandSpy).not.toHaveBeenCalled();
657657
});
658658
});
659659

@@ -665,7 +665,7 @@ describe("prepareCodeTour", () => {
665665

666666
await prepareCodeTour();
667667

668-
expect(commandSpy).not.toHaveBeenCalledWith("vscode.openFolder");
668+
expect(commandSpy).not.toHaveBeenCalled();
669669
});
670670
});
671671
});

0 commit comments

Comments
 (0)