Run server on different port when running tests
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user