test: add test:force helper

This commit is contained in:
Peter Steinberger
2025-12-10 01:00:29 +00:00
parent 3907e9eedd
commit 260d9b9770
3 changed files with 107 additions and 0 deletions

3
docs/test.md Normal file
View File

@@ -0,0 +1,3 @@
## Tests
- `pnpm test:force`: Kills any lingering gateway process holding the default lock/port, removes stale lock files, runs the full Vitest suite with an isolated temporary gateway lock path so gateway server tests dont collide with a running instance. Use this when a prior gateway run left `/tmp/clawdis-gateway.lock` or port 18789 occupied.