Fix post-game analysis state, add profile nav route, and fix mobile profile overflow

This commit is contained in:
tyuXX 2026-11-22 20:10:16 +03:00
parent 02b8bafb1e
commit 3ccab53b41
7 changed files with 158 additions and 23 deletions

View file

@ -259,6 +259,7 @@ test('ChessUp full server E2E: auth, lobby, PvP, Glicko-2, Stockfish analysis, b
// Check REST history, PGN, leaderboard
const storedRes = await alice.req<{ kind: string; game: { result: string } }>(`/api/games/${pvpGameId}`);
assert.equal(storedRes.status, 200);
assert.equal(storedRes.data.kind, 'stored');
assert.equal(storedRes.data.game.result, '1-0');
const pgnRes = await alice.req<string>(`/api/games/${pvpGameId}/pgn`);