You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): type the projection fixture instead of casting past the checker
CI caught two type errors I introduced and did not see: I ran the typecheck
before adding the test file and never re-ran it.
The fixture cast a hand-built state to HostGameState, which papered over Card's
branded CardInstanceId. Builds properly typed cards through a small factory
instead, so the fixture is checked rather than asserted. The Record cast now
goes through unknown, which is what that widening actually requires.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments