Enable forceExit for CLI tests

This commit is contained in:
Koen Vlaswinkel
2024-03-13 10:20:55 +01:00
parent 992a836ccb
commit 8bb0085992

View File

@@ -9,6 +9,8 @@ const config: Config = {
// CLI integration tests call into the CLI and execute queries, so these are expected to take a lot longer // CLI integration tests call into the CLI and execute queries, so these are expected to take a lot longer
// than the default 5 seconds. // than the default 5 seconds.
testTimeout: 180_000, // 3 minutes testTimeout: 180_000, // 3 minutes
// Ensure that Jest exits even when there are some remaining handles open
forceExit: true,
}; };
export default config; export default config;