mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Updated new recur logic to work with tests
This commit is contained in:
@@ -70,7 +70,7 @@ describe('shouldDo', () => {
|
||||
expect(shouldDo(day, dailyTask, options)).to.equal(true);
|
||||
});
|
||||
|
||||
it('returns true if Start Date is today', () => {
|
||||
it('returns true if Start Date is today', () => {
|
||||
dailyTask.startDate = moment().startOf('day').toDate();
|
||||
expect(shouldDo(day, dailyTask, options)).to.equal(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user