Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (18 loc) · 716 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 716 Bytes

PactJS

This is a PoC Pact Javascript implementation.

Currently it is a bare-bones implementation that can verify a provider's response.

NOTE: This is being superseded by a work in progress at https://github.com/DiUS/pact-js-provider

Install

npm install pactjs --save-dev

Examples

Download the full codebase from GitHub.

To run the example provider verifications:

/pactjs/example/animal_service/$ node test/contracts.pact.js

Links

The official Pact specification

Ruby implementation of Pact

JVM implementation of Pact