AngelaE / ts-mountebank

Mountebank client for TS / node
15 stars 5 forks source link

Add methods for mock verification #7

Closed 4x0v7 closed 3 years ago

4x0v7 commented 3 years ago

As per Mountebank docs it would be nice to allow mock verification as part of this project.

Perhaps another method on the Imposter Class could be created, something like withMockVerification which would set recordRequests: true when creating the Imposter

AngelaE commented 3 years ago

That sounds like a good idea. I am currently splitting the integration tests out and have some changes in the master branch already => Feel free to create a PR. I am planning to publish a new version after I get #6 merged.

This is a total side project and right now the github actions are taking me a bit to get used to...

4x0v7 commented 3 years ago

Haha integration tests for an integration testing tool 😄 No worries it's a pretty new project! Thanks for making this btw 😃

AngelaE commented 3 years ago

Check out whether it works for you. You can now also query the imposter from MB.