Run server on different port when running tests
This commit is contained in:
5
test/integration/teardown.cjs
Normal file
5
test/integration/teardown.cjs
Normal file
@@ -0,0 +1,5 @@
|
||||
console.log('Stopping server.')
|
||||
|
||||
module.exports = function teardown() {
|
||||
process.kill(globalThis.__INTEG_TEST_SERVER_PID__);
|
||||
};
|
||||
Reference in New Issue
Block a user