2017-10-22 00:03:26 -05:00
|
|
|
|
|
|
|
module.exports = {
|
2017-11-17 09:18:30 -06:00
|
|
|
verbose: false,
|
2017-11-13 06:48:48 -06:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"tsConfigFile": "tsconfig.json"
|
|
|
|
}
|
|
|
|
},
|
2017-10-22 00:03:26 -05:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
|
|
},
|
2017-11-13 06:48:48 -06:00
|
|
|
"moduleDirectories": ["node_modules", "public"],
|
2017-10-22 00:03:26 -05:00
|
|
|
"roots": [
|
|
|
|
"<rootDir>/public"
|
|
|
|
],
|
2018-08-14 03:52:41 -05:00
|
|
|
"testRegex": "(\\.|/)(test)\\.(jsx?|tsx?)$",
|
2017-10-22 00:03:26 -05:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
|
|
|
"./public/test/jest-shim.ts",
|
|
|
|
"./public/test/jest-setup.ts"
|
2018-01-01 11:54:23 -06:00
|
|
|
],
|
|
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"],
|
2017-10-22 00:03:26 -05:00
|
|
|
};
|