diff options
| author | Jacob Thornton <[email protected]> | 2012-04-19 17:40:58 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-04-19 17:40:58 -0700 |
| commit | f84882122ef98500af143ddaaf055262cfbdf0c3 (patch) | |
| tree | a4faa0a45f12af0f73c3a8e83b1bb0b6f8b5a23a /js/tests/unit | |
| parent | 03f78f7a60a631c01c1fb085b01d98bee61d7bb6 (diff) | |
| download | bootstrap-f84882122ef98500af143ddaaf055262cfbdf0c3.tar.xz bootstrap-f84882122ef98500af143ddaaf055262cfbdf0c3.zip | |
style changes to phantom integration
Diffstat (limited to 'js/tests/unit')
| -rw-r--r-- | js/tests/unit/bootstrap-phantom.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/js/tests/unit/bootstrap-phantom.js b/js/tests/unit/bootstrap-phantom.js index 8bed5f603..a04aeaa87 100644 --- a/js/tests/unit/bootstrap-phantom.js +++ b/js/tests/unit/bootstrap-phantom.js @@ -1,21 +1,21 @@ // Logging setup for phantom integration // adapted from Modernizr -QUnit.begin = function() { - console.log("Starting test suite"); - console.log("================================================\n"); -}; +QUnit.begin = function () { + console.log("Starting test suite") + console.log("================================================\n") +} -QUnit.moduleDone = function(opts) { - if(opts.failed === 0) { - console.log("\u2714 All tests passed in '"+opts.name+"' module"); - } else { - console.log("\u2716 "+ opts.failed +" tests failed in '"+opts.name+"' module"); - } -}; +QUnit.moduleDone = function (opts) { + if (opts.failed === 0) { + console.log("\u2714 All tests passed in '" + opts.name + "' module") + } else { + console.log("\u2716 " + opts.failed + " tests failed in '" + opts.name + "' module") + } +} -QUnit.done = function(opts) { - console.log("\n================================================"); - console.log("Tests completed in "+opts.runtime+" milliseconds"); - console.log(opts.passed + " tests of "+opts.total+" passed, "+opts.failed+" failed."); -};
\ No newline at end of file +QUnit.done = function (opts) { + console.log("\n================================================") + console.log("Tests completed in " + opts.runtime + " milliseconds") + console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.") +}
\ No newline at end of file |
