Skip to content

Commit

Permalink
Fix CI on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Aug 29, 2023
1 parent 240bd63 commit d19eff1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,11 @@ test(
await inv.closed;
await wireit.exit;
assert.equal(main.numInvocations, 1);
await wireit.waitForLog(/❌ main killed/);
await wireit.waitForLog(/❌ 1 script failed/);
// on windows we just die without reporting anything when we get a SIGINT
if (!IS_WINDOWS) {
await wireit.waitForLog(/❌ main killed/);
await wireit.waitForLog(/❌ 1 script failed/);
}
})
);

Expand Down

0 comments on commit d19eff1

Please sign in to comment.