提交 a36f2c29 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

jest: ignore <rootDir>/target folder

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
```
上级 0823b672
...@@ -92,8 +92,9 @@ ...@@ -92,8 +92,9 @@
], ],
"cacheDirectory": ".cache/jest", "cacheDirectory": ".cache/jest",
"modulePathIgnorePatterns": [ "modulePathIgnorePatterns": [
"worker/", "worker",
"rust/" "rust",
"target"
] ]
}, },
"dependencies": { "dependencies": {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论