Add `uvu/spy` package
See original GitHub issueHello @lukeed, I’m solving #9 issue, and when doing the tests I discover that your assert library doesn’t have a way to test if some function was called. In other libraries like jest
we can do it by creating some reference to a mock function (jest.fn()
for example) and after that, check if this function was called. What do you think about this feature?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Spy Camera In Hotel Records Couple Sex free porn
A spy camera that was kept in a hotel room records a young nri couple's hot sex action. Hear this nri chick shout...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I too was looking for a small alternative to Sinon or Jest for spy functionality to pair with Uvu.
Might I suggest https://github.com/therealparmesh/snoop until Uvu reaches this point in the roadmap?
I’m going to publish the first version pretty soon and would greatly appreciate any guidance from the community.
Looks great @therealparmesh! Awesome alternative (and name 😆)!
I think
uvu/spy
will still exist at some point in the future, but this is definitely a viable option.