1
0

jest.config.js 486 B

1234567891011121314151617181920
  1. module.exports = {
  2. coverageDirectory: 'coverage',
  3. moduleFileExtensions: ['js', 'json', 'ts'],
  4. preset: 'ts-jest',
  5. rootDir: __dirname,
  6. roots: ['<rootDir>/src'],
  7. transform: {
  8. '^.+\\.(t|j)s$': [
  9. 'ts-jest',
  10. {
  11. isolatedModules: true,
  12. tsconfig: {
  13. allowJs: true,
  14. skipLibCheck: true,
  15. },
  16. },
  17. ],
  18. },
  19. testEnvironment: 'node',
  20. };