text: // For a detailed explanation regarding each configuration property, visit:
  // https://jestjs.io/docs/en/configuration.html
  
  module.exports = {
    coverageDirectory: "coverage",
    collectCoverageFrom: ["<rootDir>/src/**/*.{js,jsx,ts,tsx}"],
    globals: {
      COMMITHASH: "test-commit-hash",
    },
    setupFilesAfterEnv: ["<rootDir>/test/setup.js"],
    testEnvironment: "jsdom",
    transform: {
      "^.+\\.(js|jsx|ts|tsx)$": "babel-jest",
      "(?!^.+\\.(js|jsx|ts|tsx)$)": "<rootDir>/test/transforms/file.js",
    },
    transformIgnorePatterns: [
      "node_modules/(?!copy-text-to-clipboard|ky|strip-indent)",
    ],
    watchPlugins: [
      "jest-watch-typeahead/filename",
      "jest-watch-typeahead/testname",
    ],
  };
  