text: module.exports = {
    transform: {
      "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.css$": "<rootDir>/jest/cssTransform.js",
      "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)":
        "<rootDir>/jest/fileTransform.js",
    },
    transformIgnorePatterns: [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
      "^.+\\.module\\.(css|sass|scss)$",
    ],
    moduleNameMapper: {
      "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
    },
    testPathIgnorePatterns: [`node_modules`, `\\.cache`, `<rootDir>.*/public`],
    globals: {
      __PATH_PREFIX__: ``,
    },
    setupFilesAfterEnv: ["jest-expect-message"],
    testURL: `http://localhost`,
    setupFiles: ["react-app-polyfill/jsdom", `<rootDir>/jest/loadershim.js`],
    collectCoverageFrom: [
      "src/**/*.{js,jsx,ts,tsx}",
      "!**/node_modules/**",
      "!src/i18n/**",
      "!**/vendor/**",
    ],
  }
  