Skip to content

Commit

Permalink
fix: correct the v3-todo example tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Mar 13, 2020
1 parent fa03816 commit de205c7
Show file tree
Hide file tree
Showing 11 changed files with 4,495 additions and 13,890 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- os: osx
osx_image: xcode8
env:
Expand Down
11,818 changes: 2,084 additions & 9,734 deletions examples/v3-e2e/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/v3-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "matt.fellows@onegeek.com.au",
"license": "MIT",
"devDependencies": {
"@pact-foundation/pact": "file:../../..",
"@pact-foundation/pact": "^9.8.0",
"body-parser": "^1.18.3",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/v3-e2e/test/consumer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require("path")
const chai = require("chai")
const chaiAsPromised = require("chai-as-promised")
const expect = chai.expect
const { PactV3, Matchers } = require("@pact-foundation/pact/dist/v3")
const { PactV3, Matchers } = require("@pact-foundation/pact/src/v3")
const LOG_LEVEL = process.env.LOG_LEVEL || "WARN"

chai.use(chaiAsPromised)
Expand Down
2 changes: 1 addition & 1 deletion examples/v3-e2e/test/provider.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { VerifierV3 } = require("@pact-foundation/pact/dist/v3")
const { VerifierV3 } = require("@pact-foundation/pact/src/v3")
const chai = require("chai")
const chaiAsPromised = require("chai-as-promised")
chai.use(chaiAsPromised)
Expand Down
Loading

0 comments on commit de205c7

Please sign in to comment.