Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Clean function removed from mockService interface #46

Open
mboudreau opened this issue Sep 10, 2015 · 1 comment
Open

Clean function removed from mockService interface #46

mboudreau opened this issue Sep 10, 2015 · 1 comment

Comments

@mboudreau
Copy link
Contributor

in the latest version, 2.0.0, it seems that the clean function has been removed, again. This was particularly useful for me that would setup a particular interaction once in the beforeAll, run several tests on it, then clean the interactions up in the afterAll function.

Without this clean function, we would have to duplicate a lot of code into the tests themselves so that it can work with the run function.

@bethesque
Copy link
Contributor

Feel free to add it back in in a PR, not sure why it was removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants