This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit f3af3ff
committed
Jest: Fix jest-haste-map warning
Tell Jest to ignore package.json files in tests/build/ and in the
cypress/ folder. Otherwise, it prints out a warning about duplicate
names used in package.json.
Example:
jest-haste-map: Haste module naming collision: next-on-netlify-test
The following files share their name; please adjust your hasteImpl:
* <rootDir>/fixtures/package.json
* <rootDir>/builds/customNextDistDir.test/package.json1 parent 09f06e1 commit f3af3ff
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
0 commit comments