Run Unit Tests#

Run the following commands from the virtual-security-guard-agent application directory to test the UI with the Vitest framework.

Prerequisites#

  • GNU Make tool

  • Node.js 22 runtime.

make install        # once: npm ci
make check          # lint + type-check + unit tests
make lint           # lint + type-check only
make test           # unit tests only
make format         # format the sources with Prettier