fix: match scenario 2601 monthly seed progression

This commit is contained in:
2026-08-03 18:56:23 +00:00
parent 2f17584075
commit 58b9a230a7
92 changed files with 3696 additions and 587 deletions
@@ -83,7 +83,7 @@ describe('monthly tournament auto start', () => {
auto: true,
openYear: 193,
openMonth: 2,
termSeconds: 600,
termSeconds: 10,
nextAt: '2026-07-25T00:10:00.000Z',
});
expect(world.getState().meta.tournamentPattern).toEqual([0, 1, 2]);
@@ -218,8 +218,8 @@ describe('monthly tournament auto start', () => {
const second = await run();
expect(second).toEqual(first);
expect(first).toEqual({
tournamentState: expect.objectContaining({ type: 1 }),
remainingPattern: [2, 0, 0, 3],
tournamentState: expect.objectContaining({ type: 0, bettingId: 1 }),
remainingPattern: [1, 3, 2, 0],
});
} finally {
random.mockRestore();