From e8e73c9b9d1545fced77e40448981060e46c01d1 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 24 Jan 2026 18:13:20 +0000 Subject: [PATCH] feat: update testing instructions for game engine to clarify Vitest filter usage --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 79fddfa..f367b4d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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)