This is an example contract testing project using PACT
Setup
$ npm i
Run consumer side tests and create pacts
$ npm run test-consumer
Start Pact Broker
$ npm run pact-broker
Delete pact (if exist)
$ npm run delete-pact
Publish pacts
$ npm run publish-pacts
Verify pacts against the provider
$ npm run test-provider
Run all circle of tests
$ npm run test