forked from spring-media/jest-nock
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi PortBlueSky,
Loving the abstraction of nock! However, I'm trying to nock a request that is done by an SDK that generates a job.id locally and returns this job.id in the request. Since this job.id is a random string generated on each request, nock is unable to match the request to the recorded nocks.
nock itself has a .filteringRequestBody(...) method to solve this. How can I apply it using the jest-nock package?
See (https://github.com/nock/nock#request-body-filtering)
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels