module.exports = async () => { process.env.TZ = "UTC"; return { testEnvironment: "jsdom", testRegex: "__tests__/.*Spec.(js|ts)x?$", roots: ["/src/js"], unmockedModulePathPatterns: ["react"], coverageDirectory: "./coverage", coveragePathIgnorePatterns: [ "/src/js/contrib/", "/src/js/filt/", "/src/js/components/editors/", ], collectCoverageFrom: ["src/js/**/*.{js,jsx,ts,tsx}"], transform: { "^.+\\.[jt]sx?$": [ "esbuild-jest", { loaders: { ".js": "tsx", }, format: "cjs", sourcemap: true, }, ], }, }; };