text: const threshold = 60;
  
  module.exports = {
  
    testEnvironment: 'node',
    cacheDirectory: 'node_modules/.cache/jest',
    preset: 'ts-jest',
  
    collectCoverage: true,
    collectCoverageFrom: [
      'src/**/*.ts',
    ],
    coverageDirectory: 'coverage',
    coverageReporters: [
      process.env.CI ? 'json' : 'lcov',
      'text',
      'text-summary',
    ],
    coverageThreshold: {
      global: {
        branches: threshold,
        functions: threshold,
        lines: threshold,
        statements: threshold,
      },
    },
  
    verbose: true,
  
  };
  