tvprofil.com
Opened this issue · 1 comments
freearhey commented
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.
BellezaEmporium commented
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.