Skip to content

Commit

Permalink
Added currentTurn to board
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lapinski committed Jul 3, 2017
1 parent 2e07e0d commit 8fc3707
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ describe('Board', () => {

});

it('should list all available moves for 1 move on board (PlayerO\s first turn & X went first)', () => {
it('should list all available moves for 1 move on board (PlayerO\'s first turn & X went first)', () => {
const board = new Board();

// Player X takes first turn
Expand Down Expand Up @@ -519,8 +519,6 @@ describe('Board', () => {
}
}

console.log(board.toString());

const availableMoves = board.availableMoves();

expect(availableMoves).to.be.an.instanceof(Array);
Expand Down

0 comments on commit 8fc3707

Please sign in to comment.