Node: jest, add modulePathIgnorePatters option (#1251)
Since flatbuffers is a subproject in worker folder there, jest was complaining that there were two different modules for flatbuffers
正在显示
| ... | @@ -91,7 +91,8 @@ | ... | @@ -91,7 +91,8 @@ |
| "node/src/fbs", | "node/src/fbs", | ||
| "node/src/tests" | "node/src/tests" | ||
| ], | ], | ||
| "cacheDirectory": ".cache/jest" | "cacheDirectory": ".cache/jest", | ||
| "modulePathIgnorePatterns": ["worker/", "rust/"] | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "debug": "^4.3.4", | "debug": "^4.3.4", | ||
| ... | ... |
请
注册
或者
登录
后发表评论