Skip to content

Commit 4eb0790

Browse files
committed
Stronger test.
1 parent 8c20098 commit 4eb0790

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Task/Recurrence.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ describe('Recurrence - with dropScheduledDateOnRecurrence', () => {
245245
const next = recurrence!.next(undefined, true);
246246

247247
// Assert
248+
expect(next!.startDate).toEqualMoment(moment('2022-02-01'));
248249
expect(next!.scheduledDate).toBeNull();
250+
expect(next!.dueDate).toEqualMoment(moment('2022-02-10'));
249251
});
250252

251253
it('does not drop the scheduledDate when it is the only date', () => {

0 commit comments

Comments
 (0)