feat: update testing instructions for game engine to clarify Vitest filter usage

This commit is contained in:
2026-01-24 18:13:20 +00:00
parent e3b1fb0812
commit e8e73c9b9d
+2
View File
@@ -79,6 +79,8 @@ These are placeholders to align teams; adjust once packages exist.
- When changes require unit tests, run the relevant tests.
- For game engine changes, run (example):
`pnpm --filter @sammo-ts/game-engine test npcNationUprisingUnification`.
- Do NOT insert `--` after `test` when passing a Vitest file/name filter; it breaks the filter here.
Use `pnpm --filter @sammo-ts/game-engine test npcNationTechResearch.test.ts` (no `--`).
- When migrating existing functionality, keep text and log output identical to the legacy behavior unless there is a technical blocker.
## Build Profiles (Proposal)