![setState() can only be called on class components -- but my component is a class · Issue #1624 · enzymejs/enzyme · GitHub setState() can only be called on class components -- but my component is a class · Issue #1624 · enzymejs/enzyme · GitHub](https://user-images.githubusercontent.com/8084862/48472429-d71ae500-e828-11e8-8ea1-e7ca9fa797bd.png)
setState() can only be called on class components -- but my component is a class · Issue #1624 · enzymejs/enzyme · GitHub
![ShallowWrapper::dive() can not be called on Host Components · Issue #1447 · enzymejs/enzyme · GitHub ShallowWrapper::dive() can not be called on Host Components · Issue #1447 · enzymejs/enzyme · GitHub](https://user-images.githubusercontent.com/338798/34238671-864ffa92-e5c8-11e7-8153-3dce2b2a02db.png)
ShallowWrapper::dive() can not be called on Host Components · Issue #1447 · enzymejs/enzyme · GitHub
![Testing with Jest and Enzyme in React — Part 6 (Snapshot Testing in Jest) | by Wasura Wattearachchi | Medium Testing with Jest and Enzyme in React — Part 6 (Snapshot Testing in Jest) | by Wasura Wattearachchi | Medium](https://miro.medium.com/max/1128/1*Ash9ptvbF78AARQGiKpRyQ.png)
Testing with Jest and Enzyme in React — Part 6 (Snapshot Testing in Jest) | by Wasura Wattearachchi | Medium
![Complete Guide on Unit and Integration Testing of React/Redux Connected Forms_reactnative_weixin_0010034-DevPress官方社区 Complete Guide on Unit and Integration Testing of React/Redux Connected Forms_reactnative_weixin_0010034-DevPress官方社区](https://res.cloudinary.com/practicaldev/image/fetch/s--SQoJmIiS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://djangostars.com/blog/uploads/2019/08/types-of-testing.png)