Closed denishaskin closed 1 year ago
Note that adding
const mockProvider = new Pact({
logLevel: 'debug',
didn't produce any additional output than what is given above
hmm odd, I have been running the v4 tests from the repo on my m1 fine,
Could you try the pact-js v4 examples please and see if they work for you? You can change the package.json to use the published version, or run npm run dist
in the main folder to build the main pact-js library
https://github.com/pact-foundation/pact-js/tree/master/examples/v4/plugins
[x ] I have upgraded to the latest
I don't think you're on the latest (the latest is 10.3.1)? There was a version that had the check in the root of the v4 module, which caused that bug. The latest in the 10.x.x line shouldn't have this issue.
Software versions
Note! Mac M1 hardware...
Issue Checklist
Please confirm the following:
Expected behaviour
Our pact tests which previously passed should continue to pass.
Actual behaviour
Test fails with
I tried adding an env var of ENABLE_FEATURE_V4=true, not change in behavior.
Steps to reproduce
How can someone else reproduce this bug?
For extra bonus points and internet karma, provide a repository, gist or reproducible code snippet so that we can test the problem.
We recommend forking the project and modifying a relevant example in the examples folder
Relevant log files