ComparetheMarket / chai-nock

Chai Nock extends Chai with a language for asserting facts about Nock.
MIT License
8 stars 3 forks source link

Check headers #7

Closed rkclark closed 5 years ago

rkclark commented 5 years ago

After much pain this is the suggested API:

Reason for not providing fuzzy match on body is that body can be many different types (e.g. string, obj, array) and it is too complicated to add given that we don't have a requirement for it.