text: module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    testRegex: '/tests/.*\\.(spec)\\.(ts|tsx|js)$',
    transform: {
      '.(ts|tsx)': 'ts-jest'
    },
    moduleFileExtensions: ['ts', 'tsx', 'js'],
    moduleNameMapper: {
      '^@apoyo/(.*?)$': '<rootDir>/../../packages/$1/src'
    },
    collectCoverage: true,
    coveragePathIgnorePatterns: ['/node_modules/', '/test/'],
    /* FIXME: Enable threshold again when coverage has progressed on the project
    coverageThreshold: {
      global: {
        branches: 90,
        functions: 90,
        lines: 90,
        statements: 90
      }
    },*/
    collectCoverageFrom: ['src/*.{js,ts}']
  }
  