Skip to content

Commit

Permalink
[#139] Fixed pawn movement test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ido-Barnea committed Jan 18, 2024
1 parent 1e17c8f commit 4f11e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions development/code/logic/pieces/Pawn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ describe('Piece movements', () => {
boardId: OVERWORLD_BOARD_ID,
},
];
blackPawn.isInitialDoubleStep = true;

const pieces = game.getPieces();
pieces.push(blackPawn);
game.setPieces(pieces);
Expand Down

0 comments on commit 4f11e81

Please sign in to comment.