text: module.exports = {
    roots: ['<rootDir>/src'],
    collectCoverageFrom: ['src/**/*.{js,jsx}', 'src/**/*.{ts,tsx}'],
    resolver: 'jest-pnp-resolver',
    testMatch: [
      '<rootDir>/src/**/__tests__/**/*.{js,jsx}',
      '<rootDir>/src/**/?(*.)(spec|test).{js,jsx}',
      '<rootDir>/src/**/__tests__/**/*.{ts,tsx}',
      '<rootDir>/src/**/?(*.)(spec|test).{ts,tsx}',
    ],
    testEnvironment: 'jsdom',
    testURL: 'http://localhost',
    transform: {
      '^.+\\.tsx?$': 'ts-jest',
      '^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
      '^(?!.*\\.(js|jsx|css|json)$)': '<rootDir>/config/jest/fileTransform.js',
    },
    transformIgnorePatterns: [
      '[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$',
      '[/\\\\]node_modules[/\\\\].+\\.(ts|tsx)$',
      '^.+\\.module\\.(css|sass|scss)$',
    ],
    moduleNameMapper: {
      '^.+\\.module\\.(css|sass|scss)$': 'identity-obj-proxy',
    },
    moduleFileExtensions: [
      'web.js',
      'ts',
      'tsx',
      'js',
      'json',
      'web.jsx',
      'jsx',
      'node',
    ],
    snapshotSerializers: ['enzyme-to-json/serializer'],
    setupFilesAfterEnv: [
      '<rootDir>/config/setupEnzyme.ts',
      '<rootDir>/config/setupJestDom.ts',
    ],
  };
  