Re:Netatwork/spy: Tiny proxy-based impl to mock and spy depe...
by sayan51 on Saturday June 26, 2021 @05:48PM
(#27646218)
Good question! I am not a user of Jest. So can't really comment on that. Taking a look at the docs from jest, it seems to me that my spy API is far more straightforward. Also it can be used by itself. Theoretically it can also be used without unit testing. It happens to be the case that spy is used generally in tests. Another point to note is that the implementation is not tied to any test framework.
[ Parent
| on HN ]
There are no comments on this comment yet.