test: align puzzle next-level expectation

This commit is contained in:
kdletters
2026-05-26 16:52:22 +08:00
parent 5fb51f4430
commit 564fc01b37

View File

@@ -7748,7 +7748,10 @@ test('formal puzzle runtime uses frontend move merge logic and backend leaderboa
await user.click(within(dialog).getByRole('button', { name: '下一关' })); await user.click(within(dialog).getByRole('button', { name: '下一关' }));
await waitFor(() => { await waitFor(() => {
expect(advancePuzzleNextLevel).toHaveBeenCalledWith(clearedFirstLevel.runId); expect(advancePuzzleNextLevel).toHaveBeenCalledWith(
clearedFirstLevel.runId,
{},
);
}); });
expect( expect(
( (