bcgov/nr-get-token

View on GitHub
app/jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
  clearMocks: true,
  collectCoverage: true,
  collectCoverageFrom: [
    'src/**/*.js',
    '!src/docs/*.*',
    '!src/frontend/**/*.*',
    '!src/migrations/*.js',
    '!src/seeders/*.js',
    '!src/services/*.js'
  ],
  moduleFileExtensions: ['js', 'json'],
  moduleNameMapper: {
    '^@/(.*)$': '<rootDir>/src/$1'
  },
  testMatch: [
    '**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
  ],
  testPathIgnorePatterns: ['frontend'],
  testURL: 'http://localhost/'
};