Skip to content

Commit

Permalink
fix: put back the run time exception check
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephVoid committed Mar 8, 2024
1 parent 66c567c commit f06f73e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cron.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ describe('cron', () => {

it('should throw when providing both exclusive parameters timeZone and utcOffset', () => {
expect(() => {
// @ts-expect-error testing runtime exception
new CronJob(
`* * * * *`,
function () {},
Expand Down

0 comments on commit f06f73e

Please sign in to comment.