spy on wrapper.instance() method not called when using shallow() · Issue #944 · enzymejs/enzyme · GitHub
![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
Component State doesn't update on simulating input change event · Issue #1283 · enzymejs/enzyme · GitHub
Error: ShallowWrapper::state() can only be called on the root · Issue #814 · enzymejs/enzyme · GitHub
Error: ShallowWrapper::state() can only be called on the root · Issue #814 · enzymejs/enzyme · GitHub
3.4.3 breaks tests with "ShallowWrapper::setState() can only be called on root" · Issue #1765 · 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)