mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 22:07:03 +01:00
Eleven tests split by theme: the five that assert the loop declines to start or tears down cleanly stay put; the six that actually play the game move to usePuzzleGameLoopPlay.test.ts. Fixtures went to src/test/puzzleLoopFixtures.ts (62) -- that path is required, not stylistic, since coverage excludes src/test/** and a fixture beside the hook would be counted as production code and break the 100% gate. flushTick could not move as-is: it closed over the describe block's rafCallbacks. It is now installRafHarness(), which owns the queue and hands back a bound flushTick, so the two suites cannot leak frames into each other. The check that matters for a test split is the pair (15 files, 145 tests): file count up by one, test count unchanged. A name outside vitest's glob would have passed just as green with six tests never running. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY |
||
|---|---|---|
| .. | ||
| explanations | ||
| superpowers | ||
| app-split-recipes.md | ||
| device-owner-wipe-checklist.md | ||
| dns-filtering-parked.md | ||
| mcp-shortlist.html | ||
| python-split-recipes.md | ||
| shared-checkout-safety.md | ||
| shell-split-recipes.md | ||
| shell-split-verification.md | ||
| syncyomi-restore-runbook.md | ||