Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
d-lukutin committed May 12, 2023
1 parent 1f0d453 commit fe7b9f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/e2e/cron-jobs.spec.ts
Expand Up @@ -115,9 +115,7 @@ describe('Cron', () => {
await app.init();
const registry = app.get(SchedulerRegistry);

expect(() => {
registry.getCronJob('DISABLED');
}).toThrow();
expect(registry.getCronJob('DISABLED').running).toBeFalsy();
});

it(`should return cron id by name`, async () => {
Expand Down

0 comments on commit fe7b9f9

Please sign in to comment.