mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-12 23:08:35 +00:00
Fixed linting issues
This commit is contained in:
parent
f4cf906127
commit
1d2482f8bc
2 changed files with 2 additions and 2 deletions
|
|
@ -786,7 +786,7 @@ describe('cron', () => {
|
|||
cron({user, tasksByType, daysMissed, analytics});
|
||||
|
||||
let filteredNotifications = filter(user.notifications, function filterNotifications (notification) {
|
||||
return notification.type === 'LOGIN_INCENTIVE';
|
||||
return notification.type === 'LOGIN_INCENTIVE';
|
||||
});
|
||||
|
||||
expect(filteredNotifications.length).to.equal(1);
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ function trackCronAnalytics (analytics, user, _progress, options) {
|
|||
function awardLoginIncentives (user) {
|
||||
if (user.loginIncentives > 50) return;
|
||||
|
||||
//Remove old noitification if it exists
|
||||
// Remove old noitification if it exists
|
||||
user.notifications
|
||||
.toObject()
|
||||
.find((notif, index) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue