mardi 12 janvier 2016

Any equivalent to Mockito's ArgumentCaptor in javascript test framework?

I would like to capture the parameter passed to a stub method. And then I can perform assertion on the properties of that parameter. For Java, it is Mockito's ArgumentCaptor. Is there any equivalent thing in javascript test framework?

Aucun commentaire:

Enregistrer un commentaire