mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix(testing): don't blow up Seasonal Shop
This commit is contained in:
@@ -18,8 +18,8 @@ export default {
|
||||
currentSeason: SHOP_OPEN ? upperFirst(CURRENT_EVENT.season) : 'Closed',
|
||||
|
||||
dateRange: {
|
||||
start: moment(CURRENT_EVENT.start).format('YYYY-MM-DD'),
|
||||
end: moment(CURRENT_EVENT.end).format('YYYY-MM-DD'),
|
||||
start: SHOP_OPEN ? moment(CURRENT_EVENT.start).format('YYYY-MM-DD') : moment().subtract(1, 'days').toDate(),
|
||||
end: SHOP_OPEN ? moment(CURRENT_EVENT.end).format('YYYY-MM-DD') : moment().subtract(1, 'seconds').toDate(),
|
||||
},
|
||||
|
||||
availableSets: SHOP_OPEN
|
||||
|
||||
Reference in New Issue
Block a user