Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Mar 2, 2022
1 parent d066280 commit 1d0474a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.5",
"version": "0.0.6",
"name": "@stroeer/stroeer-videoplayer-livestream-ui",
"description": "Ströer Videoplayer Livestream UI",
"main": "dist/StroeerVideoplayer-livestream-ui.cjs.js",
Expand Down
9 changes: 9 additions & 0 deletions src/UI.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class StroeerVideoplayer {
return videoEl
}

getHls = (): any => {
const mock = (): any => {
return {
destroy: () => {}
}
}
return mock
}

loading = (): void => {
}

Expand Down

0 comments on commit 1d0474a

Please sign in to comment.