mirror of
https://github.com/TBEDP/datavjs.git
synced 2025-12-08 19:45:52 +00:00
13 lines
329 B
JavaScript
13 lines
329 B
JavaScript
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");
|
|
}); |