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

tvprofil.com #2399

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

tvprofil.com #2399

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

Comments

@freearhey
Copy link
Collaborator

Site

tvprofil.com

Description

Test failed:

npm test -- tvprofil.com

> test
> run-script-os tvprofil.com


> test:default
> TZ=Pacific/Nauru npx jest --runInBand tvprofil.com

 FAIL  sites/tvprofil.com/tvprofil.com.test.js
  ✕ can generate valid url (14 ms)
  ✓ can generate valid request headers (1 ms)
  ✓ can parse response (76 ms)
  ✓ can handle empty guide (2 ms)

  ● can generate valid url

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

    Expected: "https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b51=818933"
    Received: "https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b49=819461"

      15 |
      16 | it('can generate valid url', () => {
    > 17 |   expect(url({ channel, date })).toBe(
         |                                  ^
      18 |     'https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b51=818933'
      19 |   )
      20 | })

      at Object.<anonymous> (sites/tvprofil.com/tvprofil.com.test.js:17:34)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 3 passed, 4 total
Snapshots:   0 total
Time:        3.307 s
Ran all test suites matching /tvprofil.com/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
@BellezaEmporium
Copy link
Contributor

Something linked to the callback it seems... From the workspaces I do have the same callback calculation. Safe to say we should need to change that test URL.

tohenk pushed a commit that referenced this issue Dec 2, 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

2 participants