alvis/presetter

View on GitHub
packages/preset-esm/templates/jestrc.yaml

Summary

Maintainability
Test Coverage
globals:
  ignoreCoverageForAllDecorators: true
moduleNameMapper:
  '#(.*)':
    - '<rootDir>/{source}/$1'
    - '<rootDir>/{generated}/$1'
    - '$0'
preset: ts-jest/presets/default-esm
resetModules: false
testEnvironment: node
testMatch:
  - '**/?(*.)+(spec).[jt]s'
testPathIgnorePatterns:
  - /node_modules/
  - <rootDir>/{output}/
transform:
  '^.+\.[jt]sx?$':
    - ts-jest
    - useESM: true
      tsconfig:
        allowJs: true