From 33e7a7390eedee7a9e4beb399f25a4466ea036a7 Mon Sep 17 00:00:00 2001 From: atomgomba Date: Fri, 13 Dec 2024 17:56:18 +0100 Subject: [PATCH] fix(game-board): enable showPossibleMoves in test --- .../othello/feature/gameboard/GameBoardRendererTest.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/feature/game-board/src/test/kotlin/com/ekezet/othello/feature/gameboard/GameBoardRendererTest.kt b/feature/game-board/src/test/kotlin/com/ekezet/othello/feature/gameboard/GameBoardRendererTest.kt index 22c6355..dfd20e8 100644 --- a/feature/game-board/src/test/kotlin/com/ekezet/othello/feature/gameboard/GameBoardRendererTest.kt +++ b/feature/game-board/src/test/kotlin/com/ekezet/othello/feature/gameboard/GameBoardRendererTest.kt @@ -23,7 +23,11 @@ internal class GameBoardRendererTest { @Test fun `renderToState works correctly`() { - val initModel = GameBoardModel() + val initModel = GameBoardModel( + boardDisplayOptions = BoardDisplayOptions.Default.copy( + showPossibleMoves = true, + ), + ) val result = subject.renderState(initModel)