mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix tests
This commit is contained in:
@@ -58,8 +58,6 @@ describe('POST /tasks', () => {
|
||||
|
||||
it('ignores setting challenge field');
|
||||
|
||||
it('ignores setting value field');
|
||||
|
||||
it('ignores setting completed field');
|
||||
|
||||
it('ignores setting streak field');
|
||||
@@ -127,7 +125,7 @@ describe('POST /tasks', () => {
|
||||
expect(task.type).to.eql('daily');
|
||||
expect(task.frequency).to.eql('daily');
|
||||
expect(task.everyX).to.eql(5);
|
||||
expect(task.startDate).to.eql(now);
|
||||
expect(new Date(task.startDate)).to.eql(now);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user