text: const { pathsToModuleNameMapper } = require('ts-jest/utils');
  const { compilerOptions } = require('./tsconfig');
  
  module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths),
    testURL: 'http://localhost',
    coverageDirectory: '<rootDir>/reports/coverage',
    collectCoverageFrom: ['<rootDir>/src/**/*.{ts,tsx}'],
    coverageThreshold: {
      global: {
        branches: 100,
        functions: 100,
        lines: 100,
        statements: 100
      }
    }
  };
  