diff options
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/step/step-test.js')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/step/step-test.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/step/step-test.js b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/step/step-test.js new file mode 100644 index 00000000..a78c534b --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/step/step-test.js @@ -0,0 +1,13 @@ +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"); +});
\ No newline at end of file |