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

Update tvguide.com.config.js #2459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cruizno
Copy link
Contributor

@cruizno cruizno commented Nov 10, 2024

It seems like yet again, tvguide changed server addresses, therefore, this is an update to this previous fix: 70a9af0

Copy link
Collaborator

@freearhey freearhey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test failed:

npm test -- tvguide.com       

> test
> run-script-os tvguide.com


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

 FAIL  sites/tvguide.com/tvguide.com.test.js
  ✕ can generate valid url (9 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://internal-prod.apigee.fandom.net/v1/xapi/tvschedules/tvguide/9100001138/web?start=1667088000&duration=1440&channelSourceIds=9200018514"
    Received: "https://backend.tvguide.com/v1/xapi/tvschedules/tvguide/9100001138/web?start=1667088000&duration=1440&channelSourceIds=9200018514"

      18 |
      19 | it('can generate valid url', () => {
    > 20 |   expect(url({ date, channel })).toBe(
         |                                  ^
      21 |     'https://internal-prod.apigee.fandom.net/v1/xapi/tvschedules/tvguide/9100001138/web?start=1667088000&duration=1440&channelSourceIds=9200018514'
      22 |   )
      23 | })

      at Object.<anonymous> (sites/tvguide.com/tvguide.com.test.js:20:34)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 2 passed, 3 total
Snapshots:   0 total
Time:        3.845 s
Ran all test suites matching /tvguide.com/i.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants