Close database connections after running tests
This commit is contained in:
8
jest.config.js
Normal file
8
jest.config.js
Normal file
@ -0,0 +1,8 @@
|
||||
module.exports = {
|
||||
moduleNameMapper: {
|
||||
"\\.css$": "<rootDir>/modules/__mocks__/styleMock.js"
|
||||
},
|
||||
setupTestFrameworkScriptFile:
|
||||
"<rootDir>/modules/__tests__/setupTestFramework.js",
|
||||
testMatch: ["**/__tests__/*-test.js"]
|
||||
};
|
||||
Reference in New Issue
Block a user