8000 test(editor): add missing BpmInfo.confidence in conform tests by johannboehme · Pull Request #37 · johannboehme/tk-1 · GitHub
[go: up one dir, main page]

Skip to content

test(editor): add missing BpmInfo.confidence in conform tests - #37

Merged
johannboehme merged 1 commit into
mainfrom
claude/fix-conform-test-bpminfo
May 6, 2026
Merged

johannboehme merged 1 commit into
mainfrom
claude/fix-conform-test-bpminfo

Conversation

@johannboehme
Copy link
Copy Markdown
Owner

Summary

Hot-fix for the broken main-deploy after merging #36 — two new test fixtures in store.test.ts constructed BpmInfo literals without the required confidence field. Local tsc --noEmit didn't surface it because the test project hadn't been fully rebuilt; CI's tsc -b caught it and failed the deploy.

Why

Main's Deploy job is currently red on acd78f1..16913e2 with:

Property 'confidence' is missing in type '{ value: number; phase: number; manualOverride: false; }' but required in type 'BpmInfo'.

in two places inside the conformAudioStartToPill describe block.

Fix

Add confidence: 1 to both literals to match the existing fixtures elsewhere in the file.

Test plan

  • vitest run src/editor/store.test.ts -t "conformAudioStartToPill" — 5 passed.
  • CI Deploy turns green on merge.

🤖 Generated with Claude Code

CI's tsc -b caught two BpmInfo literals in the conformAudioStartToPill
tests that omitted the required `confidence` field — local tsc --noEmit
on the worktree didn't surface it because the test project hadn't been
fully rebuilt. Add `confidence: 1` to match the existing fixtures.
@johannboehme
johannboehme merged commit a4162a5 into main May 6, 2026
1 check passed
@johannboehme
johannboehme deleted the claude/fix-conform-test-bpminfo branch May 6, 2026 20:51
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

0