Closed douglaseggleton closed 1 year ago
This looks to only be an issue on latest
/ v10
and not v9
Thanks @douglaseggleton, this is because I removed a method instead of aliasing it as I meant to in pact-core
(a key dependency). I believe pinning pact-core
to 13.10.0 should fix it for the time being. I will fix that asap .
Should be fixed now @douglaseggleton, code sandbox seems to be down for me, but running your repro locally works (it fails for another reason - missing args - but providig the correct arguments I can get a passing test now).
Thanks for raising, and my apologies for the issue!
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
MessageConsumerPact
should be imported correctly.Actual behaviour
An error (See relevant log fils) is raised
TypeError: (0 , pact_core_1.makeConsumerAsyncMessagePact) is not a function
Steps to reproduce
@pact-foundation/pact
as a dev dependency.MessageConsumerPact
packageSee example https://codesandbox.io/s/black-fire-qhvcn5?file=/src/index.js
Relevant log files