Join Slack
Powered by
Is there a way to cover a range of expected status...
# pact-js
a
Abdurahman Hijazi
08/22/2022, 10:21 AM
Is there a way to cover a range of expected status code responses? Or can you only expect an exact status code. This would be really useful for all status codes >=400
m
Matt (pactflow.io / pact-js / pact-go)
08/22/2022, 10:33 AM
It’s available in the next specification version (4) but Pact JS is yet to expose that matcher:
https://github.com/pact-foundation/pact-specification/issues/68
👍 1
Open in Slack
Previous
Next