I use @pact-foundation/pact@latest (for quick deployment of my case there is a simple jest example)
I have generated this PACT file:
It is generated according to specification 3 (these are settings):
Problem:
How can I make the final PACT file contains state params
? Like this:
Here is an example. Here just providerStates
. But I would like to get it through the official PACT library.
This is not yet possible. Pact JS does not yet support the full feature set of pact spec v3. See https://docs.pact.io/feature_support for featur coverage across languages.