зеркало из https://github.com/mozilla/popcorn-js.git
[#227] Fix bad unit tests for Popcorn Events: Real
This commit is contained in:
Родитель
b95377e1e8
Коммит
9e939022ef
|
@ -267,7 +267,7 @@ test("Real", function () {
|
|||
completed = [];
|
||||
|
||||
|
||||
var expects = 10,
|
||||
var expects = 5,
|
||||
count = 0;
|
||||
|
||||
|
||||
|
@ -278,7 +278,7 @@ test("Real", function () {
|
|||
stop();
|
||||
|
||||
|
||||
Setup.events.forEach(function ( name ) {
|
||||
[ "play", "pause", "volumechange", "seeking", "seeked" ].forEach(function ( name ) {
|
||||
|
||||
p.listen( name, function (event) {
|
||||
|
||||
|
@ -297,8 +297,6 @@ test("Real", function () {
|
|||
|
||||
p.pause();
|
||||
|
||||
p.mute(true);
|
||||
|
||||
p.play();
|
||||
|
||||
p.volume(0.9);
|
||||
|
|
Загрузка…
Ссылка в новой задаче