circleci / bond

spying for tests
127 stars 28 forks source link

Allow spying and stubbing entire namespaces. #29

Closed conormcd closed 7 years ago

conormcd commented 7 years ago

Add with-spy-namespaces and with-stub-namespaces which will spy/stub every function in the namespaces passed to them. This can be useful for establishing boundaries in tests.

appplemac commented 7 years ago

Very cool 👏