The difference is beforeEach()/afterEach() automatically run before and after each tests, which 1.
Eric Elliott
63

This bit:

Tests should be explicit, and tests should never share state. So why use tools that introduce magic (making it harder to understand a particular test) and invite test coupling?

I came to a similar conclusion recently and my tests are much more useful and readable. Amen.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.