Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-18 10:01:26 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-18 10:05:21 -0700
commit8e74cef4a5b63ab14e47d8d698f804745c0c4ea6 (patch)
tree6fee17cb5c152ae584d4e81a7c941ee9d08588e9 /jest.config.integ.cjs
parent23967fe2f5ae9fb6d6c8a2cbc29845531f7acece (diff)
Run server on different port when running tests
Diffstat (limited to 'jest.config.integ.cjs')
-rw-r--r--jest.config.integ.cjs6
1 files changed, 3 insertions, 3 deletions
diff --git a/jest.config.integ.cjs b/jest.config.integ.cjs
index 8336242..af5adf3 100644
--- a/jest.config.integ.cjs
+++ b/jest.config.integ.cjs
@@ -15,8 +15,8 @@ console.log("Jest config file read.");
// });
module.exports = {
- globalSetup: "./test/setup.cjs",
- globalTeardown: "./test/teardown.cjs",
- testPathIgnorePatterns: ["/node_modules/"],
+ globalSetup: "./test/integration/setup.cjs",
+ globalTeardown: "./test/integration/teardown.cjs",
+ testPathIgnorePatterns: ["/node_modules/", "test/unit"],
testTimeout: 5000
};