From 4f11e817f0d366ca5f6c439764e240685fcc34a2 Mon Sep 17 00:00:00 2001 From: Ido-Barnea Date: Thu, 18 Jan 2024 21:53:12 +0200 Subject: [PATCH] [#139] Fixed pawn movement test --- development/code/logic/pieces/Pawn.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/development/code/logic/pieces/Pawn.test.ts b/development/code/logic/pieces/Pawn.test.ts index 111aca41..b2d61ceb 100644 --- a/development/code/logic/pieces/Pawn.test.ts +++ b/development/code/logic/pieces/Pawn.test.ts @@ -44,6 +44,8 @@ describe('Piece movements', () => { boardId: OVERWORLD_BOARD_ID, }, ]; + blackPawn.isInitialDoubleStep = true; + const pieces = game.getPieces(); pieces.push(blackPawn); game.setPieces(pieces);