text: module.exports = /** @type {jest.InitialOptions} */ ({
    testEnvironment: 'node',
    moduleFileExtensions: ['ts', 'js', 'json'],
    testMatch: ['**/tests/**/*.ts', '**/*.test.ts'],
    transform: { '\\.ts$': 'ts-jest' },
    coverageReporters: ['lcov', 'text-summary'],
    collectCoverage: !!process.env.CI,
    collectCoverageFrom: ['src/**/*.ts'],
    coverageThreshold: {
      global: {
        branches: 100,
        functions: 100,
        lines: 100,
        statements: 100,
      },
    },
  });
  