fix(tvguide.myjcom.jp): include rectime and rec4k parameters in generated URL
This commit is contained in:
1 parent
319390f641
commit
408fb022d9
1 file changed
+1
-1
@@ -17,7 +17,7 @@ const content = fs.readFileSync(path.resolve(__dirname, './__data__/content.json
|
||||
|
||||
it('can generate valid url', () => {
|
||||
const result = url({ date, channel })
|
||||
expect(result).toBe('https://tvguide.myjcom.jp/api/getEpgInfo/?channels=120_200_4_20220114')
|
||||
expect(result).toBe('https://tvguide.myjcom.jp/api/getEpgInfo/?channels=120_200_4_20220114&rectime=&rec4k=')
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
|
||||
Reference in new issue
Block a user