Skip to content
Snippets Groups Projects
Select Git revision
  • bf629189a99b98ddc19cedda19f3a3c093789d78
  • main default protected
  • 3-rewrite-in-typescript
  • 1.13.6
  • 1.13.5
  • 1.13.4
  • 1.13.3
  • 1.13.2
  • 1.13.1
  • 1.13.0
  • 1.12.4
  • 1.12.3
  • 1.12.2
  • 1.12.1
  • 1.12.0
  • 1.11.0
  • 1.10.1
  • 1.10.0
  • 1.9.0
  • v1.7.0
  • 1.8.0
  • v1.7.1
  • v1.6.2
23 results

jest.config.js

Blame
  • jest.config.js 473 B
    module.exports = {
      preset: 'ts-jest', // Use ts-jest to handle TypeScript files
      testEnvironment: 'node', // Set the test environment to Node.js
      moduleFileExtensions: ['ts', 'js'], // Support both TypeScript and JavaScript files
      testMatch: ['**/*.test.ts'], // Match test files ending with .test.ts
      collectCoverage: true,
      coverageReporters: [
          "json",
          "lcov",
          "text",
          "clover",
          "html"
        ],
        coverageDirectory: "docs/coverage"
    };