Good afternoon, We are using pact-js lib version 1...
# pact-js
a
Good afternoon, We are using pact-js lib version 12 and are facing a weird issue .The first consumer test works fine, but when we add the 2nd test the test suite fails. The 2nd test was setup just like the first one. When commenting out the 1st test and running just the 2nd test and that works. It also works the other way around if I comment out the 2nd test and run the 1st. The error I’m getting seems to be due to the second set of interactions I’m configuring to be mocked don’t seem to get registered. This seems to be similar to the issue in this github issue.https://github.com/pact-foundation/pact-js/issues/1066 The failure is happening on nodejs version 19 and 22 and it seems to work fine with nodejs 18 version. Is there any fix for this issue ?
👋 1
m
Have you tried the advice in that linked issue?
a
Yep, we’ve already tried them
m
If you can create a repro, we can take a look. It sounds like it might be a separate issue then