:wave: Hi everyone! I'm using <pact.io> to create...
# general
g
👋 Hi everyone! I'm using pact.io to create an poc in my company and ai have have follow the steps and here is the output after run the test:
Copy code
[2022-11-02 14:26:59.845 +0000] ERROR (23344 on Ghsouza): pact-core@13.11.0: !!!!!!!!! PACT CRASHED !!!!!!!!!
                                                                                                                                                                                                         
The pact consumer core returned false at 'withResponseBody'. This
should only happen if the core methods were invoked out of order

This is almost certainly a bug in pact-js-core. It would be great if you could
open a bug report at: <https://github.com/pact-foundation/pact-js-core/issues>
so that we can fix it.

There is additional debugging information above. If you open a bug report,
is there anything that i can do it to avoid this message?!
y
Hey, I would raise an issue on the repo suggested in the link, and provide some repro steps as the message is indicating something is wrong. It may be erroneous but it is worth checking out. Are your pacts being generated correctly?
❤️ 1
g
Will do, thanks @Yousaf Nabi (pactflow.io)
m
The fact your tests are passing leads me to think there is an issue with your setup. It shouldn’t be possible for your expectations to pass, but that specific explosion to happen. So there is at least two bugs - one with Pact and one in your tests
g
just to be sure, how can i check this:
pacts being generated correctly
tks!
m
When the tests run, it should write a pact file to a folder somewhere (usually
./pacts
I’d like to see your code if we can, so we can help diagnose
g
@Matt (pactflow.io / pact-js / pact-go) can i share the repo and also a video overview ?
@Matt (pactflow.io / pact-js / pact-go) here is the link for the repo that i said earlier: • poc-contract-testing • also some loom videos that i did: ◦ poc-contract-testing - Ipoc-contract-testing - II let me know if you need something or even better schedule some huddle, tks!
m
Thanks!