fix room manager test: update act names to match new constants

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 17:20:33 +01:00
parent ae88d0ad59
commit aaee0f6b0d

View File

@@ -96,7 +96,7 @@ describe("RoomManager", () => {
const room = manager.getRoom(code)!
const hostSession = room.hostSessionId
const expectedSequence: Act[] = ["act1", "act2", "act3", "ended"]
const expectedSequence: Act[] = ["pre-show", "live-event", "scoring", "ended"]
for (const expected of expectedSequence) {
const result = manager.advanceAct(code, hostSession)
expect(result).toEqual({ newAct: expected })