jest.config.cjs 407 B

12345678910111213141516171819
  1. module.exports = {
  2. verbose: true,
  3. projects: ['<rootDir>'],
  4. testMatch: [
  5. '**/__tests__/**/*.[jt]s?(x)',
  6. '**/test/**/*.[jt]s?(x)',
  7. '**/?(*.)+(spec|test).[jt]s?(x)',
  8. ],
  9. testPathIgnorePatterns: [
  10. '/(?:production_)?node_modules/',
  11. '.d.ts$',
  12. '<rootDir>/test/fixtures',
  13. '<rootDir>/test/helpers',
  14. '__mocks__',
  15. ],
  16. transform: {
  17. '^.+\\.[jt]sx?$': 'babel-jest',
  18. },
  19. }