Tinyspy

screenshot of Tinyspy
vite

minimal fork of nanospy, with more features

Overview:

The tinyspyminimal is a fork of nanospy, providing more features in a 10KB package designed for minimal and easy testing with no dependencies. Initially created for use in vitest, it can also be used in jest and other test environments.

Features:

  • Spy Library: Tiny spy library for easy testing.
  • Multiple Environments: Can be used in vitest, jest, and other test environments.
  • Reset Function: Allows resetting calls, returns, called, and call count.
  • Promise Handling: No longer automatically unwraps Promises in returns and results from version 3.0.

Summary:

The tinyspyminimal package is a lightweight and versatile tool for testing in various environments. With features like the ability to reset calls and handle Promises, it offers a convenient solution for those looking to conduct minimal and efficient testing without dependencies.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.