Fix tests

This commit is contained in:
Chocobozzz
2018-02-14 18:21:14 +01:00
parent 3bcfff7f44
commit 7b0956ec4f
10 changed files with 13 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ import 'videojs-dock/dist/videojs-dock.es.js'
import { VideoDetails } from '../../../../shared'
function getVideoUrl (id: string) {
return window.location.origin + '/api/v1/videos/' + videoId
return window.location.origin + '/api/v1/videos/' + id
}
async function loadVideoInfo (videoId: string): Promise<VideoDetails> {