i24news.tv
freearhey opened this issue · 0 comments
freearhey commented
Site
i24news.tv
Description
Test failed:
npm test -- i24news.tv
> test
> run-script-os i24news.tv
> test:default
> TZ=Pacific/Nauru npx jest --runInBand i24news.tv
FAIL sites/i24news.tv/i24news.tv.test.js
✕ can generate valid url (7 ms)
✓ can parse response (30 ms)
✓ can handle empty guide (1 ms)
● can generate valid url
expect(received).toBe(expected) // Object.is equality
Expected: "https://api.i24news.tv/v2/ar/schedules/world"
Received: "https://api.i24news.tv/v2/ar/schedules/"
13 |
14 | it('can generate valid url', () => {
> 15 | expect(url({ channel })).toBe('https://api.i24news.tv/v2/ar/schedules/world')
| ^
16 | })
17 |
18 | it('can parse response', () => {
at Object.<anonymous> (sites/i24news.tv/i24news.tv.test.js:15:28)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 2 passed, 3 total
Snapshots: 0 total
Time: 3.207 s
Ran all test suites matching /i24news.tv/i.