fix: 시즌별 설문 알림 상태를 분리

설문 확인 cursor와 메인 실시간 탭 범위를 reset 고유 serverId로 구분한다. 설문 생성의 daemon 비의존 outbox 경로와 이전 시즌 cursor 회귀를 테스트한다.
This commit is contained in:
2026-08-19 12:20:26 +00:00
parent 17a3072ba7
commit 54a5b91ca9
9 changed files with 81 additions and 4 deletions
@@ -40,6 +40,7 @@ const buildContext = (options: { auth?: GameSessionTokenPayload | null; hasVoted
findFirst: vi.fn(async () => ({
tickSeconds: 3600,
meta: {
serverId: 'che_260819_front',
lastTurnTime: '2026-07-26T10:00:00.000Z',
},
})),
@@ -87,6 +88,7 @@ describe('general.getFrontStatus', () => {
const result = await caller.general.getFrontStatus();
expect(result).toEqual({
serverId: 'che_260819_front',
onlineUserCount: 3,
onlineNations: '【촉】, 【위】',
onlineGenerals: '유비, 관우',