DEV Community

Discussion on: The only 3 steps you need to mock an API call in Jest

Collapse
 
tapaibalazs profile image
Tápai Balázs

Nice one!

I am going to try this out tomorrow. :)

I just want to mention that a false-negative test is a test which is green but it should not be.
A false-positive test is red but it should not be.

The test case where you don't mock Axios is not a false-negative but a false-positive one. :)