Skip to content

Commit 3c3d6e8

Browse files
committed
fix: force jest to exit after tests pass.
This is a known issue with Neon and Tokio
1 parent c69cac8 commit 3c3d6e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ module.exports = {
55
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
66
moduleNameMapper: {
77
"index\\.node": "<rootDir>/index.node"
8-
}
8+
},
9+
// Force Jest to exit after tests complete to prevent hanging
10+
forceExit: true
911
};

0 commit comments

Comments
 (0)