我结合使用lodash和mobx来检索数据,如下所示: _.get(store, "prop.arr[0].subProp") 运行正常,但在arr为undefined或empty的情况下,mobx会给出警告Out of bound indices will not be tracked by MobX 有什么解决方法吗?我不想添加长度检查,我想把它作为一行代码。
我正在尝试运行testcafe chrome tests/ -e来执行我的测试,但是它抛出了一个错误 "testcafe: The term 'testcafe' is not recognizedAt line:1 char:1+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound:(testcafe:String) [], CommandN