Skip to content

Commit

Permalink
Removed the unit test for native timeupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
eXon committed May 18, 2015
1 parent e3c0285 commit 5d19240
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/unit/tech/tech.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,6 @@ test('should synthesize timeupdate events by default', function() {
equal(timeupdates, 1, 'triggered at least one timeupdate');
});

test('stops timeupdates if the tech produces them natively', function() {
var timeupdates = 0, tech, expected;
tech = new Tech();
tech.on('timeupdate', function() {
timeupdates++;
});

tech.trigger('play');

// simulate a native timeupdate event
tech.trigger('timeupdate');

expected = timeupdates;
this.clock.tick(10 * 1000);
equal(timeupdates, expected, 'did not simulate timeupdates');
});

test('stops manual timeupdates while paused', function() {
var timeupdates = 0, tech, expected;
tech = new Tech();
Expand Down

0 comments on commit 5d19240

Please sign in to comment.