Skip to content

Commit

Permalink
feat(jest): add entries to the ignore patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Sep 22, 2017
1 parent 48f42a0 commit 7505314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const jestConfig = {
testEnvironment: ifAnyDep(['webpack', 'rollup', 'react'], 'jsdom', 'node'),
collectCoverageFrom: ['src/**/*.js'],
testMatch: ['**/__tests__/**/*.js'],
testPathIgnorePatterns: ignores,
coveragePathIgnorePatterns: ignores,
testPathIgnorePatterns: [...ignores],
coveragePathIgnorePatterns: [...ignores, 'src/(umd|cjs|esm)-entry.js$'],
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'],
coverageThreshold: {
global: {
Expand Down

0 comments on commit 7505314

Please sign in to comment.