mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix(testing): don't blow up Seasonal Shop
This commit is contained in:
parent
13fae3028c
commit
f61beee9e9
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ export default {
|
||||||
currentSeason: SHOP_OPEN ? upperFirst(CURRENT_EVENT.season) : 'Closed',
|
currentSeason: SHOP_OPEN ? upperFirst(CURRENT_EVENT.season) : 'Closed',
|
||||||
|
|
||||||
dateRange: {
|
dateRange: {
|
||||||
start: moment(CURRENT_EVENT.start).format('YYYY-MM-DD'),
|
start: SHOP_OPEN ? moment(CURRENT_EVENT.start).format('YYYY-MM-DD') : moment().subtract(1, 'days').toDate(),
|
||||||
end: moment(CURRENT_EVENT.end).format('YYYY-MM-DD'),
|
end: SHOP_OPEN ? moment(CURRENT_EVENT.end).format('YYYY-MM-DD') : moment().subtract(1, 'seconds').toDate(),
|
||||||
},
|
},
|
||||||
|
|
||||||
availableSets: SHOP_OPEN
|
availableSets: SHOP_OPEN
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue