text: /* -----------------------------------
   *
   * Jest
   *
   * -------------------------------- */
  
  module.exports = {
    testEnvironment: 'jsdom',
    globals: { __DEV__: true },
    roots: ['<rootDir>'],
    collectCoverage: true,
    collectCoverageFrom: ['<rootDir>/src/**/*.{ts,tsx}'],
    coverageDirectory: '<rootDir>/tests/coverage',
    coveragePathIgnorePatterns: ['/node_modules/', '(.*).d.ts'],
    coverageThreshold: {
      global: {
        statements: 84,
        branches: 73,
        functions: 80,
        lines: 82,
      },
    },
    transform: {
      '^.+\\.tsx?$': 'ts-jest',
      '^.+\\js$': 'babel-jest',
    },
  };
  