Skip to content

fix(player): add onRuntimeReady to test callbacks mock#1537

Closed
vanceingalls wants to merge 1 commit into
mainfrom
fix-player-typecheck-mock
Closed

fix(player): add onRuntimeReady to test callbacks mock#1537
vanceingalls wants to merge 1 commit into
mainfrom
fix-player-typecheck-mock

Conversation

@vanceingalls

Copy link
Copy Markdown
Collaborator

MessageHandlerCallbacks requires onRuntimeReady (runtime-message-handler.ts:29) but the test mock in runtime-message-handler.test.ts omitted it. This TS2741 error broke the CI Typecheck job on main — and therefore on every open PR (e.g. #1533). One-line fix: add the missing vi.fn().

Verified: tsc --noEmit (both player tsconfig projects) + oxfmt --check pass.

🤖 Generated with Claude Code

MessageHandlerCallbacks requires onRuntimeReady (runtime-message-handler.ts:29)
but the test mock omitted it — TS2741 broke the CI Typecheck job for every
open PR. Add the missing vi.fn().

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vanceingalls

Copy link
Copy Markdown
Collaborator Author

Superseded — the onRuntimeReady mock fix already landed on main (v0.6.110). This branch duplicated it.

@vanceingalls vanceingalls deleted the fix-player-typecheck-mock branch June 17, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant