mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Fix cron test
This commit is contained in:
@@ -1232,7 +1232,7 @@ describe('cron', () => {
|
|||||||
cron({user, tasksByType, daysMissed, analytics});
|
cron({user, tasksByType, daysMissed, analytics});
|
||||||
|
|
||||||
expect(user.history.exp).to.have.lengthOf(1);
|
expect(user.history.exp).to.have.lengthOf(1);
|
||||||
expect(user.history.exp[0].value).to.equal(150);
|
expect(user.history.exp[0].value).to.equal(25);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('increments perfect day achievement if all (at least 1) due dailies were completed', () => {
|
it('increments perfect day achievement if all (at least 1) due dailies were completed', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user