Repository navigation
test(ai-lighting): finish Scene→Look rename in test fixtures - #179
Conversation
Bring the AI lighting service tests in line with the Scene→Look rename:
- Rename Look-name mock data ('Romantic Scene' → 'Romantic Look', etc.)
and the corresponding describe/test labels
- Fix the stale sceneId field in the generateCueSequence mock to lookId,
matching the CueData type
- Preserve theatrical-context strings ('Act 1, Scene 1', lookDescription:
'Romantic scene') per the rename plan's Phase 6.4 — those refer to
script scenes, not lighting state
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Code ReviewOverviewThis is a focused, test-only PR that completes the Scene→Look rename in What's Good
Suggestions / Minor Notes
SummaryClean, low-risk PR. The |
There was a problem hiding this comment.
Pull request overview
Updates the AI lighting service test fixtures to fully reflect the ongoing Scene → Look rename, ensuring test data matches current types and naming.
Changes:
- Renamed test labels and mock look names/descriptions from “Scene” to “Look” for
generateLookand additive-look coverage. - Updated the
generateCueSequencemock cue payload to uselookId(instead of stalesceneId) to match the expected cue shape. - Renamed the
scenesfixture array tolooksin thegenerateCueSequencetest while preserving theatrical script-context strings (e.g.,Act 1, Scene 1).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
All review comments have been addressed:
All checks are passing (Lint, Test, Type Check, Test Coverage, Build, Docker Build, Security Audit, MCP Server Validation, claude-review). |
Summary
sceneIdfield in thegenerateCueSequencemock tolookId, matching theCueDatatype.'Act 1, Scene 1',lookDescription: 'Romantic scene') per the rename plan's Phase 6.4 — those refer to script scenes, not lighting state.Test plan
npm test(all 653 tests pass)npm run lint🤖 Generated with Claude Code