#1078 Multiple interactions per test case are no longer supported
Issue created by
martinslota
Software versions
•
OS: Mac OS 13.2.1
•
Consumer Pact library: PactJS v 11.0.2
•
Provider Pact library: N/A
•
Node Version: v18.15.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 and have
read the section on intermittent test failures
☑︎ 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
Expected behaviour
Multiple interactions can be added for a single test case.
Actual behaviour
The pact server crashes when adding the second interaction.
Steps to reproduce
Run
npm ci && npm test
in
https://github.com/martinslota/pact-js-bug-multiple-interactions.
Relevant log files
failure.log
pact-foundation/pact-js