I'm using Pact-JS (+pact-js-karma) to test my consumer tests and want to generate Pact files according to version 3 of the Pact spec.
I think that I have set the spec option correctly, because the resulting pact file includes
"metadata": {
"pactSpecification": {
"version": "3.0.0"
}
}
The generated matching rules are in v2 format:
"$.body._embedded.schuleList[*].*": {
"match": "type"
}
Our expectation regarding the generated output according to spec v3 was something like:
"body" : {
"$._embedded.schuleList[*].*": {
"matchers": [
{"match": "type" }
]
}
}