cahilfoley/utils

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const { name } = require('./package')

module.exports = {
  collectCoverage: true,
  collectCoverageFrom: ['src/**/*.{ts,tsx}', '!**/node_modules/**', '!**/index.ts'],
  coverageDirectory: './.temp/coverage',
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
  name,
  testEnvironment: 'node',
  testRegex: '/src/.*\\.(test|spec)?\\.(ts|tsx)$',
  transform: {
    '^.+\\.ts?$': 'ts-jest'
  },
  testPathIgnorePatterns: ['/node_modules/', '/.temp/', '/dist/'],
  verbose: true
}