Improve test coverage

This commit is contained in:
Phillip Thelen
2024-06-10 14:44:21 +02:00
parent ebdac0b388
commit d4ba96796c
6 changed files with 83 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { assign } from 'lodash';
import t from './translation';
import datedMemoize from '../fns/datedMemoize';
import { filterReleased } from './is_released';
import { HATCHING_POTIONS_RELEASE_DATES } from './constants/release_dates';
import { HATCHING_POTIONS_RELEASE_DATES } from './constants/releaseDates';
function hasQuestAchievementFunction (key) {
return user => user.achievements.quests && user.achievements.quests[key] > 0;