@augment-vir/test
TypeScript icon, indicating that this package has built-in type declarations

31.25.0 • Public • Published

@augment-vir/test

A universal testing suite that works with Mocha style test runners and Node.js's built-in test runner with the following main exports:

  • describe: the normal describe test suite function, automatically imported based on the current environment.
  • it: the normal it test function, automatically imported based on the current environment.
  • itCases: a succinct way to test lots of inputs and outputs to a single function.
  • testWeb: a API of web-testing utilities, only available in browser environments.

See the docs under Test, or Package: @augment-vir/test here: https://electrovir.github.io/augment-vir

Package Sidebar

Install

npm i @augment-vir/test

Weekly Downloads

604

Version

31.25.0

License

(MIT or CC0 1.0)

Unpacked Size

74.2 kB

Total Files

40

Last publish

Collaborators

  • electrovir