이지선다: 퀴즈를 아직 안 고른 방이 서버 노래 DB 곡 수(906곡·30문제)를 보이던 것 — 이지선다는 퀴즈 곡만 세어 0곡으로 보임
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,9 @@ test('quiz kinds: picking an 이지선다 퀴즈 makes the room 이지선다; an
|
||||
const { cls } = await room(sa, []);
|
||||
const host = cls[0]!;
|
||||
host.send({ t: 'config', patch: { mode: 'duel' } });
|
||||
await host.waitFor((m) => m.t === 'room' && m.room.config.mode === 'duel');
|
||||
const none = (await host.waitFor((m) => m.t === 'room' && m.room.config.mode === 'duel')) as Msg<'room'>;
|
||||
// no 이지선다 퀴즈 yet: no songs (not the server DB pool)
|
||||
expect(none.room.pool).toEqual({ playable: 0, total: 0 });
|
||||
host.send({ t: 'start' });
|
||||
await host.waitFor((m) => m.t === 'error' && m.message.includes('이지선다 퀴즈를 골라'));
|
||||
host.send({ t: 'config', patch: { quizId: duelId } });
|
||||
|
||||
Reference in New Issue
Block a user