Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i.mjh.nz #2556

Closed
freearhey opened this issue Dec 30, 2024 · 1 comment · Fixed by #2577
Closed

i.mjh.nz #2556

freearhey opened this issue Dec 30, 2024 · 1 comment · Fixed by #2577
Labels
broken guide There's a problem with the guide status:warning The guide downloads, but contains errors

Comments

@freearhey
Copy link
Collaborator

Site

i.mjh.nz

Description

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.
@freearhey freearhey added broken guide There's a problem with the guide status:warning The guide downloads, but contains errors labels Dec 30, 2024
@BellezaEmporium
Copy link
Contributor

Same issue than energeek.cl (solved since then)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken guide There's a problem with the guide status:warning The guide downloads, but contains errors
Development

Successfully merging a pull request may close this issue.

2 participants