Handle resignation coach response and add analysis option

This commit is contained in:
stefan-kp
2025-12-03 08:45:31 +01:00
parent 327f17ad39
commit f9a245742b
6 changed files with 366 additions and 48 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ jest.mock("./GameAnalysisModal", () => ({
}));
jest.mock("./GameOverModal", () => ({
GameOverModal: () => <div data-testid="game-over-modal">Game Over Modal Mock</div>,
GameOverModal: ({ onAnalyze }: { onAnalyze: () => void }) => (
<div data-testid="game-over-modal" onClick={onAnalyze}>Game Over Modal Mock</div>
),
}));
jest.mock("./StartScreen", () => ({