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

telenet.tv #2394

Closed
freearhey opened this issue Jun 24, 2024 · 1 comment
Closed

telenet.tv #2394

freearhey opened this issue Jun 24, 2024 · 1 comment
Labels
broken guide There's a problem with the guide

Comments

@freearhey
Copy link
Collaborator

Site

telenet.tv

Description

Test failed:

npm test -- telenet.tv

> test
> run-script-os telenet.tv


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

 FAIL  sites/telenet.tv/telenet.tv.test.js
  ✓ can generate valid url (6 ms)
  ✕ can parse response (51 ms)
  ✓ can handle empty guide (1 ms)

  ● can parse response

    expect(received).toMatchObject(expected)

    - Expected  - 17
    + Received  +  5

      Object {
    -   "actors": Array [
    -     "Gale Harold",
    -     "Hal Sparks",
    -     "Randy Harrison",
    -     "Peter Paige",
    -     "Scott Lowell",
    -     "Thea Gill",
    -     "Michelle Clunie",
    -     "Sharon Gless",
    -   ],
    -   "category": Array [
    -     "Dramaserie",
    -     "LHBTI",
    -   ],
    -   "description": "Justin belandt in de gevangenis, Brian en Brandon banen zich een weg door de lijst, Ben treurt, Melanie en Lindsay proberen een interne scheiding en Emmett's stalker onthult zichzelf.",
    -   "episode": 8,
    -   "season": 5,
    +   "actors": undefined,
    +   "category": undefined,
    +   "description": undefined,
    +   "episode": null,
    +   "season": null,
        "start": "2022-10-29T23:56:00.000Z",
        "stop": "2022-10-30T01:44:00.000Z",
        "title": "Queer as Folk USA",
      }

      60 |   })
      61 |
    > 62 |   expect(results[0]).toMatchObject({
         |                      ^
      63 |     start: '2022-10-29T23:56:00.000Z',
      64 |     stop: '2022-10-30T01:44:00.000Z',
      65 |     title: 'Queer as Folk USA',

      at Object.<anonymous> (sites/telenet.tv/telenet.tv.test.js:62:22)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 2 passed, 3 total
Snapshots:   0 total
Time:        3.363 s
Ran all test suites matching /telenet.tv/i.
@freearhey freearhey added the broken guide There's a problem with the guide 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
tohenk pushed a commit that referenced this issue Dec 2, 2024
@PopeyeTheSai10r
Copy link
Collaborator

All tests passed. No changes to config.

npm test -- telenet.tv

> test
> run-script-os telenet.tv


> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand telenet.tv

 PASS  sites/telenet.tv/telenet.tv.test.js (8.495 s)
  √ can generate valid url (11 ms)
  √ can parse response (69 ms)
  √ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        9.287 s
Ran all test suites matching /telenet.tv/i.

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
Development

No branches or pull requests

2 participants