From 75053145e91762bd71ce1a330d097f8fa4cfe7b2 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Fri, 22 Sep 2017 09:43:53 -0600 Subject: [PATCH] feat(jest): add entries to the ignore patterns --- src/config/jest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/jest.config.js b/src/config/jest.config.js index d32b22d0..8bc144f6 100644 --- a/src/config/jest.config.js +++ b/src/config/jest.config.js @@ -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: {