stalniy/casl

View on GitHub
packages/casl-angular/jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const config = require('@casl/dx/config/jest.config');

module.exports = {
  ...config,
  transform: {
    '^.+\\.(ts|js|mjs|html|svg)$': 'jest-preset-angular',
  },
  testEnvironment: "jsdom",
  preset: 'jest-preset-angular',
  setupFilesAfterEnv: [
    'zone.js',
    'zone.js/testing'
  ],
};