Skip to content

Commit

Permalink
try more things
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Jan 1, 2024
1 parent ddf0419 commit 40a002c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/watch-mode/helpers/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const withFixture = fixture => async (t, task) => {
const assertIdle = async next => {
assertingIdle = true;

t.timeout(10_000);
t.timeout(30_000);

const promise = Promise.all([delay(5000, null, {ref: false}), next?.()]).finally(() => {
if (idlePromise === promise) {
Expand Down Expand Up @@ -109,6 +109,8 @@ export const withFixture = fixture => async (t, task) => {
// In CI, killing the process is the best guarantee that the test file exits on its own.
process.kill();
}

await process;
});

const results = run(args, options);
Expand Down

0 comments on commit 40a002c

Please sign in to comment.