tinyspy
TypeScript icon, indicating that this package has built-in type declarations

2.2.1Β β€’Β PublicΒ β€’Β Published

tinyspy

minimal fork of nanospy, with more features πŸ•΅πŸ»β€β™‚οΈ

A 10KB package for minimal and easy testing with no dependencies. This package was created for having a tiny spy library to use in vitest, but it can also be used in jest and other test environments.

In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an RFC

Docs

Read full docs on GitHub.

Package Sidebar

Install

npm i tinyspy

Weekly Downloads

4,845,835

Version

2.2.1

License

MIT

Unpacked Size

13.9 kB

Total Files

6

Last publish

Collaborators

  • antfu
  • aslemammad
  • oreanno