Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 746 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 746 Bytes

Unit tests

Prerequisites

  • Node 16.17.0 or higher is recommended (nvm recommended)
  • yarn is recommended, but not required. In the examples below, npm can be substituted for yarn.

Getting started


Install

cd test/unit/
yarn install

Run tests

yarn test:unit
# Runs `vitest watch`:
# https://vitest.dev/guide/cli.html
yarn test:unit:watch

Using Docker Compose:

docker compose up unit-tests

References