Fix various tests

This commit is contained in:
Phillip Thelen
2024-02-28 17:54:42 +01:00
committed by Sabe Jones
parent 3540a274b3
commit fb56f7df20
13 changed files with 349 additions and 124 deletions

View File

@@ -25,6 +25,7 @@ import {
MAX_GIFT_MESSAGE_LENGTH,
} from './constants';
import content from './content/index';
import { getCurrentGalaEvent, getScheduleMatchingGroup } from './content/constants/schedule';
import * as count from './count';
// TODO under api.libs.cron?
import {
@@ -106,6 +107,10 @@ const api = {
getPlanMonths,
daysSince,
DAY_MAPPING,
schedule: {
getCurrentGalaEvent,
getScheduleMatchingGroup,
},
};
api.constants = {