text: module.exports = {
    rootDir: "./",
    collectCoverage: true,
  
    collectCoverageFrom: [
      "**/*.{js,jsx,ts}",
      "!**/node_modules/**",
      "!**/generated/**",
    ],
    coveragePathIgnorePatterns: [
      ".*/src/.*\\.d\\.ts",
      ".*/src/.*\\.test\\.{ts,js}",
      ".*/src/.*\\.test\\.headless\\.js",
    ],
    roots: ["<rootDir>/src"],
    testMatch: [
      "**/__tests__/**/*.+(ts|tsx|js)",
      "**/?(*.)+(spec|test).+(ts|tsx|js)",
    ],
    transform: {
      "^.+\\.(ts|tsx)$": "ts-jest",
    },
    testEnvironment: "node",
    setupFiles: ["fake-indexeddb/auto"],
    globalSetup: "<rootDir>/jest/node.setup.js",
    globalTeardown: "<rootDir>/jest/node.teardown.js",
    verbose: true,
    maxConcurrency: 1,
    testTimeout: 125000,
  };
  