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:
Lars Müller
2023-10-12 08:32:18 +02:00
committed by GitHub
parent ce86248b1e
commit 05e32481fa
5 changed files with 45 additions and 44 deletions

View File

@ -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)
})
})