jest.config.json
{
"testEnvironment": "jsdom",
"verbose": true,
"timers": "fake",
"bail": true,
"resetMocks": true,
"notify": false,
"setupFiles": [
"<rootDir>/test/jest-pretest.ts"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/puppeteer/"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"collectCoverage": true,
"testURL": "http://localhost/",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"google": {}
}
}