Skip to content

Commit b0eecad

Browse files
Merge pull request nestjs#3595 from tonyhallett/core-to-throw-does-not-execute
test(core): fix expect that does not execute
2 parents 39a4953 + e81b94a commit b0eecad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/test/exceptions/external-exceptions-handler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('ExternalExceptionsHandler', () => {
3434
expect((handler as any).filters).to.be.eql(filters);
3535
});
3636
it('should throws exception when passed argument is not an array', () => {
37-
expect(() => handler.setCustomFilters(null)).to.throw;
37+
expect(() => handler.setCustomFilters(null)).to.throw();
3838
});
3939
});
4040
describe('invokeCustomFilters', () => {

0 commit comments

Comments
 (0)