You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone! ✌️
After generating a Pact and running the stub server, it fails to accept the syntax of the generated Pact, displaying the error message:
I've tried to use all available version like PactV3 and PactV4, additionally I've tried to use specification version 3 and 4. Every single time I've got an error described down below.
I would like to use StubServer to provide the mocks for my fronted app. I have created a reproducable git repository to illustrate the problem. All you need to do is clone this repo and run specified commands (see below)
Software versions
OS: MacOS Sonoma 14.2.1
Pact Node version:
@pact-foundation/pact: 12.1.2
@pact-foundation/pact-core: 14.0.6
Node Version: v18.19.0
Issue Checklist
Please confirm the following:
I have upgraded to the latest
I have the read the FAQs in the Readme
I have triple checked, that there are no unhandled promises in my code
I have set my log level to debug and attached a log file showing the complete request/response cycle
For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
We could consider replacing the current ruby based one with the one above in this package, but I'm also still weighing up whether in the next major version we should keep the binaries or not (I'm leaning toward not, as the CLI can be downloaded independently and the rust binaries are not command-for-command compliant, meaning if we replace the ruby ones there will be a de-facto breaking change anyway).
Description
Hello everyone! ✌️
After generating a Pact and running the stub server, it fails to accept the syntax of the generated Pact, displaying the error message:
I've tried to use all available version like
PactV3
andPactV4
, additionally I've tried to use specification version 3 and 4. Every single time I've got an error described down below.I would like to use StubServer to provide the mocks for my fronted app. I have created a reproducable git repository to illustrate the problem. All you need to do is clone this repo and run specified commands (see below)
Software versions
@pact-foundation/pact
: 12.1.2@pact-foundation/pact-core
: 14.0.6v18.19.0
Issue Checklist
Please confirm the following:
Expected behaviour
Stub server runs correctly with generated pact.
Actual behaviour
Steps to reproduce
npm install
(remember to use node >= 18)npm run test
npm run start-stub
Result: Stub server shows error with ignoring unsupported matching rules
Relevant log files
The text was updated successfully, but these errors were encountered: