Overview
Pact JS is currently compliant to Pact Specification Version 2.0.
Quickstart guide
Our 5 minute guide is written in JS, this is a good starting point if this is your first experience with Pact.
Pact JS Workshop
If you'd like to go a little deeper, we have a workshop that will take 1-2 hours. It goes into all of the key topics, and will take you from a novice to intermediate level understanding.
Examples
If you need more information, the Pact JS readme has detailed information.
Additionally, these complete examples are useful guides:
- Complete Example (Node env)
- Pact with Jest (Node env)
- Pact with Mocha
- Pact with Karma + Jasmine
- Pact with Karma + Mocha
- Angular 4 + Mocha
Verifications
The Pact Javascript API provides a native Javascript interface for performing verifications, however, you can also use the