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

Commit

Permalink
Add note about deprecation in favour of Pact JS
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jun 9, 2016
1 parent a061c60 commit cd93e00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
@@ -1,5 +1,7 @@
# Pact Consumer Javascript DSL

**NOTE: We are in the process of releasing a _better_ Pact experience for JavaScript and Node. This project will soon merge with [Pact JS](https://github.com/pact-foundation/pact-js). Whilst not officially released, if you are starting out we recommend you start there.**

[![Build Status](https://travis-ci.org/DiUS/pact-consumer-js-dsl.svg)](https://travis-ci.org/DiUS/pact-consumer-js-dsl)

This codebase provides a Javascript DSL for creating pacts. If you are new to Pact, please read the Pact [README][pact-readme] first.
Expand Down Expand Up @@ -209,7 +211,7 @@ Matching provides the ability to specify flexible length arrays. For example:
Pact.Match.eachLike(obj, { min: 3 })
```

Where `obj` can be any javascript object, value or Pact.Match. It takes optional argument (`{ min: 3 }`) where min is greater than 0 and defaults to 1 if not provided.
Where `obj` can be any javascript object, value or Pact.Match. It takes optional argument (`{ min: 3 }`) where min is greater than 0 and defaults to 1 if not provided.

Below is an example that uses all of the Pact Matchers.

Expand Down

0 comments on commit cd93e00

Please sign in to comment.