From 51b978801161e0eb47c1f5620e27c1ac18a1fc0f Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Fri, 17 Dec 2010 10:23:25 -0500 Subject: [PATCH] [#228] tighten up test run time --- test/popcorn.unit.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index c188271..38d470e 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -801,10 +801,10 @@ test("Index Integrity", function () { p.ff({ id: "removeable-track-event", start: 40, - end: 45 + end: 41 }); - p.currentTime(39).pause(); + p.currentTime(40).pause(); stop(); @@ -817,10 +817,10 @@ test("Index Integrity", function () { p.listen("timeupdate", function () { - if ( p.roundTime() > 40 && p.roundTime() < 46 && !hasrun ) { + if ( p.roundTime() > 40 && p.roundTime() < 42 && !hasrun ) { } - if ( p.roundTime() > 40 && p.roundTime() < 46 && hasrun && !lastrun ) { + if ( p.roundTime() > 40 && p.roundTime() < 42 && hasrun && !lastrun ) { lastrun = true; @@ -829,7 +829,7 @@ test("Index Integrity", function () { start(); } - if ( p.roundTime() >= 46 && !hasrun ) { + if ( p.roundTime() >= 42 && !hasrun ) { hasrun = true; p.pause(); @@ -848,7 +848,7 @@ test("Index Integrity", function () { - p.currentTime(39).play(); + p.currentTime(40).play(); -- 2.43.0