Skip to content

Commit

Permalink
test(error-handler): rename test description
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-hawk committed Jun 2, 2021
1 parent 09c0abe commit 47b9a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/error-handler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('error-handler.js test', () => {
assert.isFunction(globalErrorHandler)
})

it('globalErrorHandler should redirect to login page', () => {
it('globalErrorHandler should call redirect with expected args', () => {
const res = {
redirect: sinon.spy()
}
Expand Down

0 comments on commit 47b9a41

Please sign in to comment.