test: add cleanup hooks and refactor integration test helpers

This commit is contained in:
kartik-mem0
2026-03-19 15:50:43 +05:30
parent 1b7c904b98
commit 388b61a099
4 changed files with 70 additions and 77 deletions
+2 -4
View File
@@ -2,8 +2,6 @@
module.exports = {
...require("./jest.config"),
testMatch: ["**/integration/**/*.test.ts"],
globalSetup:
"<rootDir>/src/client/tests/integration/global-setup.ts",
globalTeardown:
"<rootDir>/src/client/tests/integration/global-teardown.ts",
globalSetup: "<rootDir>/src/client/tests/integration/global-setup.ts",
globalTeardown: "<rootDir>/src/client/tests/integration/global-teardown.ts",
};