mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 17:44:43 +03:00
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"
|
||
|
}
|
||
|
}
|