We discuss this repository in this article in detail: https://codersociety.com/blog/articles/contract-testing-pact
The repository contains sample order server (provider.js) and an order client (consumer.js). It also includes a contract testing setup using mocha and pact.
To run the contract tests, execute the command below:
npm test