You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm test --- i.mjh.nz
>test> run-script-os i.mjh.nz
> test:default
> TZ=Pacific/Nauru npx jest --runInBand i.mjh.nz
FAIL sites/i.mjh.nz/i.mjh.nz.test.js (6.4 s)
✓ can generate valid url (3 ms)
✕ can parse response (3149 ms)
✓ can handle empty guide (4 ms)
● can parse response
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
@@ -2,10 +2,12 @@
"categories": Array [
"Movie",
],
"date": "20180101",
"description": "With her son being held captive by a criminal gang, police officer Amanda Doyle, together with her ex-husband and three unlikely allies, takes part in a desperate plot to hold a wealthy banker and his family to ransom. But this is no ordinary family.",
- "icon": "https://provider-static.plex.tv/epg/images/thumbnails/darkmatter-tv-fallback.jpg",
+ "icon": Object {
+ "src": "https://provider-static.plex.tv/epg/images/thumbnails/darkmatter-tv-fallback.jpg",
+ },
"start": "2023-06-23T07:14:32.000Z",
"stop": "2023-06-23T09:09:36.000Z",
"title": "Killers Within",
}
26 |
27 | expect(results.length).toBe(11)
> 28 | expect(results[0]).toMatchObject({
| ^
29 | start: '2023-06-23T07:14:32.000Z',
30 | stop: '2023-06-23T09:09:36.000Z',
31 | title: 'Killers Within',
at Object.<anonymous> (sites/i.mjh.nz/i.mjh.nz.test.js:28:22)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 2 passed, 3 total
Snapshots: 0 total
Time: 6.503 s, estimated 7 s
Ran all test suites matching /i.mjh.nz/i.
The text was updated successfully, but these errors were encountered:
Site
i.mjh.nz
Description
The text was updated successfully, but these errors were encountered: