mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-04 15:39:42 +08:00
chore: format code (#1515)
* chore: format code * Updated Documentation in README.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -54,10 +54,7 @@ describe('Determinant', () => {
|
||||
'Square matrix is required.'
|
||||
],
|
||||
[[1, 3, 2, [5, 8, 6], 3], 'Input is not a valid 2D matrix.']
|
||||
])(
|
||||
'Should return the error message.',
|
||||
(matrix, expected) => {
|
||||
expect(() => determinant(matrix)).toThrowError(expected)
|
||||
}
|
||||
)
|
||||
])('Should return the error message.', (matrix, expected) => {
|
||||
expect(() => determinant(matrix)).toThrowError(expected)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user