Skip to content

Commit

Permalink
.mocharc: Use "exit: true" to workaround hanging on completion on node20
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
thgreasi committed Nov 9, 2023
1 parent a675b74 commit db962ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
timeout: 25000,
spec: 'test/**/*.spec.ts',
// TODO: This shouldn't be necessary, but the tests on node20 hang, while they pass on node 16 & 18.
// `leaked-handles` showed an unclosed docker deamon connection.
exit: true,
};

0 comments on commit db962ac

Please sign in to comment.