mirror of
https://github.com/plausible/analytics.git
synced 2024-11-29 14:04:12 +03:00
bfa01bff2a
* Limit maximum date to today in calendars * Add test * Make calendar max dates sensitive to site timezone
20 lines
420 B
JSON
20 lines
420 B
JSON
{
|
|
"clearMocks": true,
|
|
"coverageDirectory": "coverage",
|
|
"coverageProvider": "v8",
|
|
"testEnvironment": "jsdom",
|
|
"globals": {
|
|
"BUILD_EXTRA": true
|
|
},
|
|
"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"
|
|
}
|
|
}
|