stalniy/casl

View on GitHub
packages/dx/config/jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
  rootDir: process.cwd(),
  coverageDirectory: './coverage',
  testEnvironment: 'node',
  coverageReporters: [
    'lcov',
    'text'
  ],
  collectCoverageFrom: [
    '<rootDir>/src/**/*.{ts,js}'
  ],
  testMatch: [
    '<rootDir>/spec/**/*.spec.{ts,tsx,js}'
  ],
  transform: {
    '^.+\\.[t|j]sx?$': 'ts-jest',
    '^.+\\.mjs$': 'ts-jest',
  },
};