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

tvgids.nl #2400

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

tvgids.nl #2400

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

Comments

@freearhey
Copy link
Collaborator

Site

tvgids.nl

Description

Test failed:

npm test -- tvgids.nl            

> test
> run-script-os tvgids.nl


> test:default
> TZ=Pacific/Nauru npx jest --runInBand tvgids.nl

 FAIL  sites/tvgids.nl/tvgids.nl.test.js
  ✓ can generate valid url (29 ms)
  ✕ can generate valid url for today (4 ms)
  ✓ can parse response (307 ms)
  ✓ can handle empty guide (3 ms)

  ● can generate valid url for today

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

    Expected: "https://www.tvgids.nl/gids/npo1"
    Received: "https://www.tvgids.nl/gids/25-06-2024/npo1"

      21 |   const today = dayjs().startOf('d')
      22 |
    > 23 |   expect(url({ date: today, channel })).toBe('https://www.tvgids.nl/gids/npo1')
         |                                         ^
      24 | })
      25 |
      26 | it('can parse response', () => {

      at Object.<anonymous> (sites/tvgids.nl/tvgids.nl.test.js:23:41)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 3 passed, 4 total
Snapshots:   0 total
Time:        3.52 s
Ran all test suites matching /tvgids.nl/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
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