2017-10-22 00:03:26 -05:00
|
|
|
|
|
|
|
module.exports = {
|
2017-11-17 09:18:30 -06:00
|
|
|
verbose: false,
|
2017-10-22 00:03:26 -05:00
|
|
|
"transform": {
|
2018-09-11 06:48:13 -05:00
|
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
2017-10-22 00:03:26 -05:00
|
|
|
},
|
2017-11-13 06:48:48 -06:00
|
|
|
"moduleDirectories": ["node_modules", "public"],
|
2017-10-22 00:03:26 -05:00
|
|
|
"roots": [
|
2018-12-21 07:23:32 -06:00
|
|
|
"<rootDir>/public/app",
|
|
|
|
"<rootDir>/public/test",
|
2019-06-24 10:00:01 -05:00
|
|
|
"<rootDir>/packages",
|
|
|
|
"<rootDir>/scripts",
|
2017-10-22 00:03:26 -05:00
|
|
|
],
|
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"],
|
2019-04-26 12:14:48 -05:00
|
|
|
"globals": { "ts-jest": { "isolatedModules": true } },
|
2017-10-22 00:03:26 -05:00
|
|
|
};
|