Skip to content

Commit

Permalink
fix: expect provider verify needs to be a function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Jun 30, 2019
1 parent afb6aa9 commit a084c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe("Pact", () => {

// (5) validate the interactions you've registered and expected occurred
// this will throw an error if it fails telling you what went wrong
expect(provider.verify()).to.not.throw()
expect(() => provider.verify()).to.not.throw()
})
})

Expand Down

0 comments on commit a084c5d

Please sign in to comment.