analytics/assets/jest.config.json
Artur Pata 8af3f7332a
Add testing framework (#4440)
* Add testing framework

* Test query period picking behaviour
2024-08-15 12:27:22 +03:00

21 lines
484 B
JSON

{
"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"
}
}