@virmator/test
v13.11.1
Published
Default test plugin for virmator.
Downloads
2,449
Maintainers
Readme
@virmator/test
A default plugin for virmator.
Available commands
test
Runs tests. An environment is required.
This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.
Examples
- Run tests in a browser:
virmator test web
- Run tests in Node:
virmator test node
- Run tests in a browser:
Deps
Sub Commands
web
Runs web tests in a browser using web-test-runner.
Examples
virmator test web
Configs
- configs/web-test-runner.config.mjs
Deps
Sub Commands
coverage
Run tests and calculate code coverage.
- Examples
virmator test web coverage
- Examples
update
Run tests and update snapshots.
- Examples
virmator test web update
- Examples
node
Runs backend tests in Node.js using its built-in test runner.
Examples
virmator test node
Sub Commands
coverage
Run tests and calculate code coverage.
- Examples
virmator test node coverage
- Configs
- configs/c8.config.json
- Deps
- Examples
update
Run tests and update snapshots.
- Examples
virmator test node update
- Examples