Skip to content

Commit

Permalink
try to see what is blocking the exit
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jan 1, 2024
1 parent 7950488 commit 13e3c46
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
12 changes: 11 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"readable-stream-clone": "^0.0.7",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"wtfnode": "^0.9.1"
}
}
8 changes: 7 additions & 1 deletion test/force-gc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
const wtf = require('wtfnode');

exports.mochaHooks = {
afterEach: global.gc
afterEach: global.gc,
afterAll: () => {
wtf.dump();
setTimeout(() => wtf.dump(), 2000);
}
};

0 comments on commit 13e3c46

Please sign in to comment.