commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / bower_components / qunit / addons / step / README.md
1 QUnit.step() - A QUnit Addon For Testing execution in order
2 ============================================================
3
4 This addon for QUnit adds a step method that allows you to assert
5 the proper sequence in which the code should execute.
6
7 Example:
8
9 test("example test", function () {
10 function x() {
11 QUnit.step(2, "function y should be called first");
12 }
13 function y() {
14 QUnit.step(1);
15 }
16 y();
17 x();
18 });