{ "collectCoverage": true, "coverageDirectory": "/../temp/test", "collectCoverageFrom": [ "/**/*.{ts,tsx}", "!/**/*.scss.*", "!/**/webparts/**/*.ts", "!/loc/**/*.*" ], "coverageReporters": [ "json", "lcov", "text-summary" ], "globals": { "ts-jest": { "diagnostics": { "ignoreCodes": "TS151001" }, "tsConfig": "node_modules/@voitanos/jest-preset-spfx/tsconfig.ts-jest.json" } }, "moduleFileExtensions": [ "ts", "tsx", "js", "json" ], "moduleNameMapper": { "\\.(css|scss)$": "identity-obj-proxy", "^resx-strings/en-us.json": "/node_modules/@microsoft/sp-core-library/lib/resx-strings/en-us.json" }, "reporters": [ "default", [ "jest-junit", { "outputDirectory": "temp/test", "outputName": "junit.xml" } ] ], "testMatch": [ "**/src/**/*.(spec|test).+(ts|js)?(x)", "**/__tests__/**/*.(spec|test).+(ts|js)?(x)" ], "testEnvironmentOptions": { "url": "http://www.something.com/test.html" }, "transform": { "^.+\\.(ts|tsx)$": "ts-jest" } }