DEV Community

Discussion on: Discover Jest hidden feature Automock

Collapse
 
ncuillery profile image
Nicolas Cuillery

It was activated by default a long time ago: jestjs.io/blog/2016/09/01/jest-15....

What I love with automock is that you can immediately see when your "unit test" is not so "unit" if it includes more than one unmock statement.