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:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user