test: mock-based integration tests for post-game refractor hook (#148) #158

Merged
cal merged 1 commits from issue/148-test-mock-based-integration-tests-for-post-game-re into main 2026-04-08 14:26:07 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
eb022c3d66 test: mock-based integration tests for post-game refractor hook (#148)
All checks were successful
Ruff Lint / lint (pull_request) Successful in 28s
Extract _run_post_game_refractor_hook() from complete_game() so the hook
logic can be tested directly without a live game session. Add 13 tests
covering endpoint ordering, tier-up notification dispatch, variant render
triggers, and non-fatal error handling.

Closes #148

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 08:34:50 -05:00