Skip to content

Commit

Permalink
Move the hack to the correct location.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaline committed Jan 15, 2024
1 parent 0825f42 commit 544040f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/utils/usePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ export const usePage = async ({
if (t.context.proxy) {
t.context.proxy.close();
}
});

// Ugly... but the process often hangs otherwise. This is only for the child process, AVA still
// knows whether the tests passed or failed. It prints out an ugly error, but it does work.
process.exit(0);
// Ugly... but the process often hangs otherwise. This is only for the child process, AVA still
// knows whether the tests passed or failed. It prints out an ugly error, but it does work.
process.exit(0);
});
};

0 comments on commit 544040f

Please sign in to comment.