2017-12-06 06:24:40 +00:00
|
|
|
{
|
|
|
|
"rootDir": "../",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
|
|
},
|
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(int))\\.(jsx?|tsx?)$",
|
|
|
|
"moduleDirectories": ["node_modules", "common"],
|
|
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
2018-02-27 01:20:41 +00:00
|
|
|
"<rootDir>/jest_config/__mocks__/fileMock.ts",
|
2018-03-20 20:08:57 +00:00
|
|
|
"\\.(css|scss)$": "<rootDir>/jest_config/__mocks__/styleMock.ts"
|
2017-12-06 06:24:40 +00:00
|
|
|
},
|
2018-02-27 01:20:41 +00:00
|
|
|
"testPathIgnorePatterns": [],
|
2017-12-06 06:24:40 +00:00
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/jest_config/setupJest.js",
|
|
|
|
"<rootDir>/jest_config/__mocks__/localStorage.ts"
|
|
|
|
],
|
|
|
|
"automock": false,
|
|
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"],
|
2018-04-06 01:51:48 +00:00
|
|
|
"browser": true,
|
|
|
|
"collectCoverage": true
|
2017-12-06 06:24:40 +00:00
|
|
|
}
|