1 | {
|
2 | "testRegex": "src/.*(test|spec|/__test__/|/__tests__/).*\\.(jsx?|tsx?)$",
|
3 | "moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
|
4 | "collectCoverageFrom": [
|
5 | "src/**/*.{js,jsx,ts,tsx}"
|
6 | ],
|
7 | "testURL": "http://localhost",
|
8 | "transform": {
|
9 | "^.+\\.jsx?$": "<rootDir>/node_modules/arui-scripts/configs/jest/babel-transform",
|
10 | "^.+\\.tsx?$": "ts-jest",
|
11 | "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/node_modules/arui-scripts/configs/jest/file-transform.js"
|
12 | },
|
13 | "moduleNameMapper": {
|
14 | "\\.css$": "<rootDir>/node_modules/arui-scripts/configs/jest/css-mock.js"
|
15 | },
|
16 | "setupFiles": [
|
17 | "<rootDir>/node_modules/arui-scripts/configs/jest/setup"
|
18 | ],
|
19 | "snapshotSerializers": [
|
20 | "jest-snapshot-serializer-class-name-to-string"
|
21 | ]
|
22 | }
|