fix problems panel tests
This commit is contained in:
@@ -7,12 +7,20 @@ module.exports = {
|
||||
// "<rootDir>/dist/test/test-setup/jest-setup.js"
|
||||
"<rootDir>/src/test-setup/jest-setup.js"
|
||||
],
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"jsx",
|
||||
"json"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"^[./a-zA-Z0-9$_-]+\.css\!?$": "<rootDir>/src/test-setup/cssStub.js",
|
||||
},
|
||||
"testRegex": "(\\.|/)(test|spec)\\.(jsx?|tsx?)$",
|
||||
"transform": {
|
||||
"^.+\\.js$": "babel-jest"
|
||||
"^.+\\.js$": "babel-jest",
|
||||
"^.+\\.(ts|tsx)$": "ts-jest"
|
||||
},
|
||||
"coverageDirectory": "<rootDir>/tmp/coverage/",
|
||||
"collectCoverage": false
|
||||
|
||||
Reference in New Issue
Block a user