mavis_run_tests
Run vitest tests in the workspace, filter by pattern or directory, and use the full output to verify fixes or reproduce failures.
Instructions
Run vitest tests in the workspace. Optional pattern to filter (e.g. file name or directory). Returns the full vitest output (truncated at 5MB). Use this to verify a fix worked or to reproduce a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Subdirectory relative to workspace root. | |
| bail | No | Stop on first failure. Default false. | |
| pattern | No | Vitest pattern. E.g. "qc_5_7" or "tests/wire/sprint28/". | |
| timeout_ms | No | Test timeout in ms. Default 120000 (2 min). |