vendredi 2 septembre 2016

How is Meteor StubCollection different from Sinon Stub?

I'm trying to write tests where I not only mock/stub to unit test my functions but also want to be able to write collections to collections and clean up when I'm heading out of my tests. I understand StubCollections (http://ift.tt/2bQE5Wk) can do this? If it doesn't do this then how is this different from Sinon Stub?

Aucun commentaire:

Enregistrer un commentaire