Run server on different port when running tests

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent 6084c54e2e
commit e9bfecace9
8 changed files with 32 additions and 27 deletions

View File

@@ -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
};