jest.config.js 487 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. preset: 'ts-jest',
  3. testEnvironment: 'node',
  4. testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts$',
  5. testPathIgnorePatterns: [
  6. '/node_modules/',
  7. '/dist/',
  8. '/goldstackLocal/',
  9. '/distWeb/',
  10. '/distLambda/',
  11. '.d.ts',
  12. ],
  13. globals: {
  14. 'ts-jest': {
  15. tsconfig: './linter.tsconfig.json',
  16. },
  17. },
  18. coverageThreshold: {
  19. global: {
  20. branches: 100,
  21. functions: 100,
  22. lines: 100,
  23. statements: 100,
  24. },
  25. },
  26. };