1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-02 11:34:50 +02:00
video.js/test/qunit/addons/step/step-test.js
2013-01-12 22:23:22 -08:00

13 lines
317 B
JavaScript
Executable File

module('Step Addon');
test("step", 3, function () {
QUnit.step(1, "step starts at 1");
setTimeout(function () {
start();
QUnit.step(3);
}, 100);
QUnit.step(2, "before the setTimeout callback is run");
stop();
});
test("step counter", 1, function () {
QUnit.step(1, "each test has its own step counter");
});