Open jhayes-dev opened 1 year ago
Thanks for this, we'll take a look. It looks like the matchers aren't being correctly sent, and therefore are being treated as the payload.
I have the same issue. Also trying to upgrade from v9 -> v11 and I got raw out of matchers object.
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
I'm upgrading to pact@11 form pact@9. When defining the consumer tests the mock server return the correct body.
Actual behaviour
But it is returning the 'raw' willRespondWith.body value
Steps to reproduce
Here is a script to reproduce the problem. See the comments in withRequest.headers and willRespondWith.headers for more details.
test-pact.ts:
Relevant log files