Get tests passing again

This commit is contained in:
Michael Jackson
2019-07-09 17:21:25 -07:00
parent 2e3c9ff526
commit f3ecddea47
42 changed files with 309 additions and 305 deletions

View File

@ -1,9 +1,9 @@
module.exports = {
moduleNameMapper: {
"\\.css$": "<rootDir>/modules/__mocks__/styleMock.js"
'entry-manifest': '<rootDir>/modules/__mocks__/entryManifest.js',
'\\.png$': '<rootDir>/modules/__mocks__/imageMock.js',
'\\.css$': '<rootDir>/modules/__mocks__/styleMock.js'
},
setupTestFrameworkScriptFile:
"<rootDir>/modules/__tests__/setupTestFramework.js",
testMatch: ["**/__tests__/*-test.js"],
testURL: "http://localhost/"
testMatch: ['**/__tests__/*-test.js'],
testURL: 'http://localhost/'
};