Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 610501c

Browse files
test(chess-board): update test
1 parent 4271d1d commit 610501c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { chessBoard } from '../chess-board'
22

3-
const expected8 = ''
3+
const expectedBoard = '# # \n # #\n# # \n # #\n# #'
44

55
describe('chessBoard', () => {
66
test('draws a board of passed size', () => {
7-
expect(chessBoard(8)).toBe()
7+
expect(chessBoard(5)).toBe(expectedBoard)
88
})
9-
})
9+
})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /