text: const { pathsToModuleNameMapper } = require('ts-jest')
  const { compilerOptions } = require('./tsconfig')
  
  module.exports = {
    // A list of reporter names that Jest uses when writing coverage reports
    coverageReporters: ['json', 'html'],
    // An array of directory names to be searched recursively up from the requiring module's location
    moduleDirectories: ['.', 'node_modules', 'src'],
    // An array of file extensions your modules use
    moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
  
    moduleNameMapper: {
      ...pathsToModuleNameMapper(
        compilerOptions.paths /* , { prefix: '<rootDir>/' }, */,
      ),
    },
    // A preset that is used as a base for Jest's configuration
    preset: 'ts-jest',
    // The test environment that will be used for testing
    testEnvironment: 'node',
  }
  