Skip to content

Commit

Permalink
Skip broken tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Dec 6, 2024
1 parent c28b860 commit a44c30e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/command.executableSubcommand.search.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ describe('search for subcommand', () => {
spawnSpy.mockRestore();
});

describe('whether perform search for local files', () => {
// fs.existsSync gets called on Windows outside the search, so skip the tests (or come up with a different way of checking).
describeOrSkipOnWindows('whether perform search for local files', () => {
beforeEach(() => {
existsSpy.mockImplementation(() => false);
});
Expand Down

0 comments on commit a44c30e

Please sign in to comment.