Skip to content

Commit

Permalink
refactor: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
L2jLiga committed Oct 20, 2023
1 parent 468dc0f commit a96d372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decorators/error-handler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Decorators: @IErrorHandler', function () {
}
}

expect(getErrorHandlerContainer(WithHandlers)).toBe(3);
expect(getErrorHandlerContainer(WithHandlers).length).toBe(3);

const [typeErrorHandler, headersErrorHandler, genericHandler] = getErrorHandlerContainer(WithHandlers);
expect(typeErrorHandler.accepts(undefined)).toBe(false);
Expand Down

0 comments on commit a96d372

Please sign in to comment.