Skip to content

Requested with headers

Compare
Choose a tag to compare
@chrisandrews7 chrisandrews7 released this 14 Dec 11:12
· 3 commits to master since this release
expect(nock).to.have.been.requestedWithHeaders(headers)
expect(nock).not.to.have.been.requestedWithHeaders(headers)
expect(nock).to.have.been.requestedWithHeadersMatch(partialHeaders)
expect(nock).not.to.have.been.requestedWithHeadersMatch(partialHeaders)