Can't use matchers in body with 'Content-Type': 'application/x-www-form-urlencoded'
#767
Open
4 of 5 tasks
Labels
enhancement
Indicates new feature requests
Software versions
Please provide at least OS and version of pact-js
@pact-foundation/karma-pact: 3.1.0,
@pact-foundation/pact: 9.16.5,
@pact-foundation/pact-web: 9.16.5,
Issue Checklist
Please confirm the following:
Expected behaviour
When using pact-web, matchers should be able to be used in the body when the content type is application/x-www-form-urlencoded.
Actual behaviour
Mock server logs report the following:
I believe this is related to #633.
Steps to reproduce
Create a test with the following interaction:
The above test will fail with the log error noted earlier.
Contrast that with this interaction, which will pass:
Relevant log files
The text was updated successfully, but these errors were encountered: