Skip to content

Commit

Permalink
ci(core): #373 skip failing watcher tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Nov 2, 2024
1 parent e305823 commit b5d3192
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/watcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ vi.mock("@parcel/watcher", async (importOriginal) => {
};
});

const WAIT_UNTIL_TIMEOUT = 5000;
const WAIT_UNTIL_TIMEOUT = 2000;

describe(
"watcher",
{
// the watcher tests are flaky on windows, so we retry them
retry: 5,
retry: 3,
skip: process.platform === "win32",
},
() => {
const events: Array<string> = [];
Expand Down

0 comments on commit b5d3192

Please sign in to comment.