JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
1.58k
stars
343
forks
source link
TypeScript error when trying to provide a stateHandler with setup and teardown #1164
Open
ghost91- opened 5 months ago
Software versions
Please provide at least OS and version of pact-js
Issue Checklist
Please confirm the following:
Expected behaviour
There are no TypeScript errors when trying to provide a stateHandler with setup and teardown to a
Verifier
.Actual behaviour
Trying to provide a stateHandler with setup and teardown results in the following TypeScript error:
Steps to reproduce