Skip to content

Commit

Permalink
test: fix lowered async delay which was too long for the GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
semmel committed Jul 21, 2024
1 parent e0744fa commit a9c60b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cancelable/cancelifyAbortableTest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("cancelable/cancelifyAbortable", function () {
Promise.race([
new Promise((res, rej) => {
const cancel = cancelableExec(`${listCommand} package.json`, {})(res, rej);
setTimeout(cancel, 5);
setImmediate(cancel);
})
.finally(() => { assert.fail("cancelable should not continue"); }),

Expand Down

0 comments on commit a9c60b5

Please sign in to comment.