We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44fee41 commit 2b3db6cCopy full SHA for 2b3db6c
Backtracking/tests/Sudoku.test.js
@@ -21,12 +21,14 @@ const solved = [
21
[8, 5, 1, 7, 9, 2, 6, 4, 3],
22
[1, 3, 8, 9, 4, 7, 2, 5, 6],
23
[6, 9, 2, 3, 5, 1, 8, 7, 4],
24
- [7, 4, 5, 2, 8, 6, 3, 1, 9],
+ [7, 4, 5, 2, 8, 6, 3, 1, 9]
25
]
26
27
describe('Sudoku', () => {
28
it('should create a valid board successfully', () => {
29
- expect(() => {new Sudoku(data)}).not.toThrow()
+ // we deliberately want to check whether this constructor call fails or not
30
+ // eslint-disable-next-line no-new
31
+ expect(() => { new Sudoku(data) }).not.toThrow()
32
})
33
34
it('should find an empty cell', () => {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments