Skip to content

Commit

Permalink
jest: ignore <rootDir>/target folder
Browse files Browse the repository at this point in the history
This changes avoids warning like this:

```
jest-haste-map: Haste module naming collision: mediasoup-worker-dev-tools
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/target/package/mediasoup-sys-0.7.1/scripts/package.json
    * <rootDir>/target/package/mediasoup-sys-0.7.2/scripts/package.json
```
  • Loading branch information
ibc committed Jan 2, 2024
1 parent 0823b67 commit a36f2c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@
],
"cacheDirectory": ".cache/jest",
"modulePathIgnorePatterns": [
"worker/",
"rust/"
"worker",
"rust",
"target"
]
},
"dependencies": {
Expand Down

0 comments on commit a36f2c2

Please sign in to comment.