Skip to content

kindgi test

Run the pack's tests via vitest. Ergonomic wrapper over vitest run.

Terminal window
kindgi test [--watch] [--reporter <name>] [--path <dir>] [-- <vitest-args>...]

Flags:

  • --path <value>: The pack root, with a kindgi.config.ts and a vitest.config.*. Default: the current directory.
  • --reporter <value>: The vitest reporter to use (vitest's --reporter), e.g. verbose or json.
  • --watch: Run vitest in watch mode. By default the tests run once (vitest run).

Every command also takes the global flags.