From 8e74cef4a5b63ab14e47d8d698f804745c0c4ea6 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Thu, 18 Apr 2024 10:01:26 -0700
Subject: Run server on different port when running tests
---
jest.config.integ.cjs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'jest.config.integ.cjs')
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
};
--
cgit v1.2.3