Closed mefellows closed 8 months ago
Crap, the pactffi_given_with_params
accepts 3 args not 4! I need to do the whole release shenanigans again :P
doh! I'll get on that today
Pact-js-core release sorted, and changes pulled into this branch from master, so should be good to go.
Would be good to include a test case that covers this, so we can say its definitely boxed off, maybe we can dust off a repro from the original issue
current ci failures unrelated to original issue, and I'll separately look into that
Thanks, yes probably need a smoke test suite for the FFI functions in the core (to prevent that bad mapping). Ideally, they are auto generated - just needs some solid spiking time to generate a workable concept.
In Pact JS, the function will be used in lots of places so will get the coverage needed (I think).
As for the failing tests, strange they work on some OS/Arch combinations. Thanks for looking (and raising the upstream in pact reference).
windows currently skip the v4 matt plugin test as they were failing in ci (fine locally)
macos/linux covers them which is why are they are red, and the windows are green.
Thank you sir!
Fixes #848 using the new
ffi_given_with_params
core function.Allows different parameters for the same state name to be reused, resulting in multiple provider states with the same description, but different parameters.