text: module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    collectCoverage: true,
    collectCoverageFrom: [
      'src/**/*.{jsx,ts}',
      '!**/node_modules/**',
      '!**/vendor/**'
    ],
    globals: {
      // we must specify a custom tsconfig for tests because we need the typescript transform
      // to transform jsx into js rather than leaving it jsx such as the next build requires.  you
      // can see this setting in tsconfig.jest.json -> "jsx": "react"
      'ts-jest': {
        tsConfig: 'tsconfig.json'
      }
    }
  }
  