jest.config.js 366 B

12345678910111213141516171819
  1. module.exports = {
  2. preset: 'ts-jest',
  3. testEnvironment: 'node',
  4. testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts$',
  5. globals: {
  6. 'ts-jest': {
  7. tsconfig: './linter.tsconfig.json',
  8. },
  9. },
  10. testTimeout: 20000,
  11. coverageThreshold: {
  12. global: {
  13. branches: 100,
  14. functions: 100,
  15. lines: 100,
  16. statements: 100,
  17. },
  18. },
  19. };