DEV Community

Discussion on: HTTP mocking for your Tests in React

Collapse
 
softchris profile image
Chris Noring

It was a while ago since I wrote this..
If my memory serves me correct I believe a nock is considered used as soon as it is hit.
So you need to define a new nock definition... I'm gonna test it to make sure.. Thanks for the question