Restore golden-save host tests for slice 6 after later formats stopped loading historic files.

Phase 39 dropped GoldenSaveTests when format 2 saves became unstartable. Recheck restores the missing-field and seed-equals-id assertions against a stamped copy, and records the recheck.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 15:39:07 +03:00
co-authored by Cursor
parent 0ec02dde8d
commit 1ef051764b
6 changed files with 244 additions and 14 deletions
@@ -73,6 +73,20 @@ describe('GameScreen speed buttons', () => {
expect(labels).toEqual(['×½', '×1', '×2', '×5', '×10']);
});
it('shows the school seed in the header', () => {
const screen = new GameScreen({
onLeave: () => {},
onSetRunning: () => {},
onSetSpeed: () => {},
onSkip: () => {},
});
document.body.append(screen.element);
screen.show(school({ seed: 42, name: 'Seeded' }));
expect(screen.element.querySelector('.screen__seed')?.textContent).toBe(t('schoolSeed', { seed: 42 }));
});
it('hides management and clock controls for a guest school', () => {
const screen = new GameScreen({
onLeave: () => {},