markdown 使用console.log检查React测试中的对象

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 使用console.log检查React测试中的对象相关的知识,希望对你有一定的参考价值。

```javascript
const allCheckBoxes = userAuthorisationsView.find({type: "checkbox"});
console.log("allCheckBoxes.length", allCheckBoxes.length);
console.log("allCheckBoxes", allCheckBoxes.get(0));
```

![Object dump to console](https://photos.app.goo.gl/ddhb62javqkGeqxd8)

以上是关于markdown 使用console.log检查React测试中的对象的主要内容,如果未能解决你的问题,请参考以下文章