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"
};