Tuesday, October 17, 2017

Jest test fails after upgrading to React 16



Made it work by changing the shallow to mount:




Have to learn the difference of mount vs shallow.


Happy Coding!

No comments:

Post a Comment