This package has been deprecated

Author message:

Please migrate to @pact-foundation/pact

nodejs-pact-provider

1.1.0 • Public • Published

PactJS

This is a PoC Pact Javascript implementation.

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

Install

npm install nodejs-pact-provider --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

.NET implementation of Pact

Dependencies (8)

Dev Dependencies (7)

Package Sidebar

Install

npm i nodejs-pact-provider

Weekly Downloads

2

Version

1.1.0

License

none

Last publish

Collaborators

  • davidporter.id.au
  • jgrigg
  • rhua