Closed aaronrenner closed 8 years ago
It looks like this build error was due to an issue with npm install.
Thanks @aaronrenner! I'll take a look at this over the weekend.
@mefellows Just was curious if you've had a chance to look at this?
Sorry @aaronrenner, I have not yet had the opportunity to go through it all. I've contacted some colleagues to assist. My main concern is putting any emphasis on the resetSession()
call as for new comers this could be confusing (used incorrectly, they will not get a correct Pact file), I'm sure this is something we can sort out via documentation.
FYI re-ran the build and all is green!
This is just invoking the /DELETE command from the mock server, so it is adding existing mock server functionality to the JS DSL.
I usually like leave my pact-mock-service instance running as I develop my pact tests. However, if I tweak a pact test I end up with the following error and have to restart my server.
This change allows me to call
provider.resetSession
in abeforeAll
block and make sure pact-mock-service is in a clean state before running my test suite.