Hi Team, I am using `jest` with `pact-js` and fou...
# pact-js
h
Hi Team, I am using
jest
with
pact-js
and found when I try to run provider tests which has a wrong mapping with consumer contract file or contract file does not exist. It still shows
Test Suites
and
Tests
as passed. Of-course it does not show pact execution status (interaction, provider state, request, response) in run, but I was expecting
Test Suites
and
Tests
status as failed. Is there a way to achieve it? tried to see the logs as well but did not found any Error level logs there.
m
Which version are you on Heera? 10.x.x definitely fails if there are no pacts found, because this was raised as a feature request recently
h
@Matt (pactflow.io / pact-js / pact-go) I am on
"version": "10.1.1"
m
can you please share your code?
h
m
Thanks, looks like it might be a bug. Could you please raise an issue at https://github.com/pact-foundation/pact-js/issues/new/choose ?
h
sure, I will raise it today. thanks for your help @Matt (pactflow.io / pact-js / pact-go)
🙏 1
@Matt (pactflow.io / pact-js / pact-go) I logged here https://github.com/pact-foundation/pact-js/issues/927 for for being late..
👍 1