analytics/assets/jest.config.json

21 lines
484 B
JSON
Raw Normal View History

{
"clearMocks": true,
"coverageDirectory": "coverage",
"coverageProvider": "v8",
"testEnvironment": "jsdom",
"globals": {
"BUILD_EXTRA": true
},
"setupFiles": ["<rootDir>/test-utils/set-fixed-timezone.ts"],
"setupFilesAfterEnv": [
"<rootDir>/test-utils/extend-expect.ts",
"<rootDir>/test-utils/reset-state.ts"
],
"transform": {
"^.+.[tj]sx?$": ["ts-jest", {}]
},
"moduleNameMapper": {
"d3": "<rootDir>/node_modules/d3/dist/d3.min.js"
}
}