Updating dependency defines hasClass
So we don’t need to mock it out in the test anymore!
Showing
2 changed files
with
1 additions
and
4 deletions
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | "karma-sauce-launcher": "~0.1.8", | 39 | "karma-sauce-launcher": "~0.1.8", |
40 | "qunitjs": "^1.15.0", | 40 | "qunitjs": "^1.15.0", |
41 | "sinon": "1.10.2", | 41 | "sinon": "1.10.2", |
42 | "video.js": "^4.9.0" | 42 | "video.js": "^4.12.0" |
43 | }, | 43 | }, |
44 | "dependencies": { | 44 | "dependencies": { |
45 | "pkcs7": "^0.2.2", | 45 | "pkcs7": "^0.2.2", | ... | ... |
... | @@ -1259,9 +1259,6 @@ test('live playlist starts with correct currentTime value', function() { | ... | @@ -1259,9 +1259,6 @@ test('live playlist starts with correct currentTime value', function() { |
1259 | standardXHRResponse(requests[0]); | 1259 | standardXHRResponse(requests[0]); |
1260 | 1260 | ||
1261 | player.hls.playlists.trigger('loadedmetadata'); | 1261 | player.hls.playlists.trigger('loadedmetadata'); |
1262 | player.hasClass = function(classname) { | ||
1263 | return player.el().classList.contains(classname); | ||
1264 | }; | ||
1265 | 1262 | ||
1266 | player.hls.play(); | 1263 | player.hls.play(); |
1267 | 1264 | ... | ... |
-
Please register or sign in to post a comment