pact-foundation / pact-js

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
https://pact.io
Other
1.59k stars 343 forks source link

Documentation no longer says you need to delete the pacts before each run #1085

Closed TimothyJones closed 1 year ago

TimothyJones commented 1 year ago

Pact-JS 11.0.2

From slack conversation here.

As far as I can tell, the documentation doesn't currently say that you need to delete the pact directory before each run. I know it used to say this.

Unless I'm missing something, this is still required, as otherwise removing interactions would cause ghost interactions from the previous time the pact file was written.

mefellows commented 1 year ago

It was listed in the migration guide, but should be added to the consumer docs.

I've updated the consumer guide just now also.