Skip to content
atarashi
Documentation menu

test/vitest

Vitest with a coverage gate and a health-check test wired to the chosen HTTP framework.

Provides: test, test:vitest

Requires: runtime:node

Conflicts with: test

Files it writes

  • vitest.config.ts|js
  • tests/health.test.ts|test.js

Dependencies

Development only:

  • vitest@^3.2.4
  • @vitest/coverage-v8@^3.2.4
  • supertest@^7.1.4 (when has('http/express'))
  • @types/supertest@^6.0.3 (when provides('language:typescript') && has('http/express'))

What it merges into other files

  • pnpm-workspace.yaml (yaml-deep)

Use it

atarashi new my-app --add test/vitest
atarashi add test/vitest

Version 1.0.0. Format reference: Authoring blueprints.

Part of the atarashi documentation, written and maintained by Gautam Suthar.