-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: revert changes to match 1.6.3, apart of resume on restart
- Loading branch information
b0dea
committed
Nov 19, 2024
1 parent
c3f63fd
commit 78ba2c1
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,7 +233,7 @@ describe('Test Pulse', () => { | |
|
||
test('should resume non-recurring jobs on restart', async () => { | ||
const job = globalPulseInstance.create('sendEmail', { to: '[email protected]' }); | ||
job.attrs.nextRunAt = new Date(Date.now() - 1000); | ||
job.attrs.nextRunAt = new Date(Date.now() - 2000); | ||
await job.save(); | ||
|
||
await globalPulseInstance.resumeOnRestart(); | ||
|