Close database connections after running tests

This commit is contained in:
Michael Jackson
2018-10-30 20:30:13 -07:00
parent 9b9ded57e7
commit 0bc640962c
5 changed files with 1238 additions and 9 deletions

8
jest.config.js Normal file
View File

@ -0,0 +1,8 @@
module.exports = {
moduleNameMapper: {
"\\.css$": "<rootDir>/modules/__mocks__/styleMock.js"
},
setupTestFrameworkScriptFile:
"<rootDir>/modules/__tests__/setupTestFramework.js",
testMatch: ["**/__tests__/*-test.js"]
};