Skip to content

Commit

Permalink
Remove console.log from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jhlywa committed Feb 24, 2024
1 parent c1909fe commit 22fc101
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion __tests__/clear.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ test('clear', () => {
chess.header('Black', 'Viswanathan Anand')

chess.clear()
console.log(chess.header())
expect(chess.fen()).toEqual('8/8/8/8/8/8/8/8 w - - 0 1')
expect(chess.header()).toEqual({})
})
Expand Down
4 changes: 0 additions & 4 deletions __tests__/validate_fen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,5 @@ test.each([
ok: true,
},
])("validateFen $# '$fen' (expected: '$ok')", ({ fen, ok }) => {
const result = validateFen(fen)
if (ok != result.ok) {
console.log(result)
}
expect(validateFen(fen)).toMatchObject({ ok })
})

0 comments on commit 22fc101

Please sign in to comment.