Update expected URL in test

update the `hour` param to 12 because the default TZ in test is `Pacific/Nauru` (GMT+12)
This commit is contained in:
Mahfud Harun 2024-09-08 07:09:35 +07:00
parent a7a4b3c95b
commit e7335a8662

View file

@ -13,7 +13,7 @@ const channel = {
it('can generate valid url', () => {
expect(url({ channel, date })).toBe(
'https://cdn.mewatch.sg/api/schedules?channels=97098&date=2022-06-11&duration=24&ff=idp,ldp,rpt,cd&hour=21&intersect=true&lang=en&segments=all'
'https://cdn.mewatch.sg/api/schedules?channels=97098&date=2022-06-10&duration=24&ff=idp,ldp,rpt,cd&hour=12&intersect=true&lang=en&segments=all'
)
})