问题描述
当尝试导入其路径应使用我们在package.json中提供的jest modulePaths数组解析的文件时,我们的排毒测试失败:
https://jestjs.io/docs/en/configuration.html#modulepaths-arraystring
我们遇到测试失败,并且测试运行以错误结束:
detox [1928]错误:[cli.js]错误:命令失败:node_modules / .bin / jest --config e2e / config.json'--testNamePattern = ^((?!:android:)。)* $'--maxWorkers 1 e2e / index.spec.js
使用modulePaths中提供的值使排毒解析模块的正确方法是什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)