Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 219a596

Browse files
committed
Tell jest to ignore dist. Prevents jest-haste-map complaining.
1 parent 0071715 commit 219a596

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ module.exports = {
7676
// moduleNameMapper: {},
7777

7878
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
79-
// modulePathIgnorePatterns: [],
79+
modulePathIgnorePatterns: [
80+
'<rootDir>/dist',
81+
],
8082

8183
// Activates notifications for test results
8284
// notify: false,

0 commit comments

Comments
 (0)