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 There's a problem with the guide status:warning The guide downloads, but contains errors

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 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
@freearhey freearhey added the status:warning The guide downloads, but contains errors label Dec 27, 2024
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

No branches or pull requests

1 participant