text: const mapPaths = require('tsconfig-paths-jest');
  const tsconfig = require('./tsconfig.json');
  
  module.exports = {
    clearMocks: true,
    moduleNameMapper: mapPaths(tsconfig),
    moduleFileExtensions: ['ts', 'tsx', 'js'],
    collectCoverage: process.env.COVERAGE === 'true' || ['true', '1'].includes(process.env.CI),
  };
  