From a084c5de996cdb5d42c2c35ef0efa2dc1e7987e1 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sun, 30 Jun 2019 10:58:27 +1000 Subject: [PATCH] fix: expect provider verify needs to be a function --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ea9a3641..7769334c0 100644 --- a/README.md +++ b/README.md @@ -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() }) })