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

ziggogo.tv #2393

Open
freearhey opened this issue Jun 24, 2024 · 0 comments
Open

ziggogo.tv #2393

freearhey opened this issue Jun 24, 2024 · 0 comments
Labels
broken guide Error in the EPG

Comments

@freearhey
Copy link
Collaborator

Site

ziggogo.tv

Description

Test failed:

npm test -- ziggogo.tv

> test
> run-script-os ziggogo.tv


> test:default
> TZ=Pacific/Nauru npx jest --runInBand ziggogo.tv

 FAIL  sites/ziggogo.tv/ziggogo.tv.test.js
  ✕ can generate valid url (13 ms)
  ✕ can parse response (19 ms)
  ✓ can handle empty guide (1 ms)

  ● can generate valid url

    expect(received).toBe(expected) // Object.is equality

    Expected: "https://static.spark.ziggogo.tv/eng/web/epg-service-lite/nl/nl/events/segments/20221028000000"
    Received: "https://static.spark.ziggogo.tv/eng/web/epg-service-lite/nl/en/events/segments/20221028000000"

      19 |
      20 | it('can generate valid url', () => {
    > 21 |   expect(url({ date, channel })).toBe(
         |                                  ^
      22 |     'https://static.spark.ziggogo.tv/eng/web/epg-service-lite/nl/nl/events/segments/20221028000000'
      23 |   )
      24 | })

      at Object.<anonymous> (sites/ziggogo.tv/ziggogo.tv.test.js:21:34)

  ● can parse response

    expect(received).toMatchObject(expected)

    - Expected  - 15
    + Received  +  3

      Object {
    -   "actors": Array [
    -     "Malou Petter",
    -     "Mark Visser",
    -     "Rob Trip",
    -     "Jeroen Overbeek",
    -     "Simone Weimans",
    -     "Annechien Steenhuizen",
    -     "Jeroen Tjepkema",
    -     "Saïda Maggé",
    -     "Winfried Baijens",
    -   ],
    -   "category": Array [
    -     "Nieuws",
    -   ],
    -   "description": "Met het laatste nieuws, gebeurtenissen van nationaal en internationaal belang en de weersverwachting voor de avond en komende dagen.",
    +   "actors": undefined,
    +   "category": undefined,
    +   "description": undefined,
        "start": "2022-10-27T23:40:00.000Z",
        "stop": "2022-10-28T00:07:00.000Z",
        "title": "NOS Journaal",
      }

      68 |   })
      69 |
    > 70 |   expect(results[0]).toMatchObject({
         |                      ^
      71 |     start: '2022-10-27T23:40:00.000Z',
      72 |     stop: '2022-10-28T00:07:00.000Z',
      73 |     title: 'NOS Journaal',

      at Object.<anonymous> (sites/ziggogo.tv/ziggogo.tv.test.js:70:22)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 1 passed, 3 total
Snapshots:   0 total
Time:        3.34 s
Ran all test suites matching /ziggogo.tv/i.
@freearhey freearhey added the broken guide Error in the EPG label Jun 24, 2024
freearhey added a commit that referenced this issue Jun 24, 2024
BellezaEmporium pushed a commit that referenced this issue Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken guide Error in the EPG
Development

No branches or pull requests

1 participant