comparison static/bootstrap/js/tests/unit/bootstrap-phantom.js @ 88:a5a3d454eac9

Updated Bootstrap.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 05 Apr 2013 08:08:12 -0700
parents
children
comparison
equal deleted inserted replaced
87:c0cf67362fb1 88:a5a3d454eac9
1 // Logging setup for phantom integration
2 // adapted from Modernizr
3
4 QUnit.begin = function () {
5 console.log("Starting test suite")
6 console.log("================================================\n")
7 }
8
9 QUnit.moduleDone = function (opts) {
10 if (opts.failed === 0) {
11 console.log("\u2714 All tests passed in '" + opts.name + "' module")
12 } else {
13 console.log("\u2716 " + opts.failed + " tests failed in '" + opts.name + "' module")
14 }
15 }
16
17 QUnit.done = function (opts) {
18 console.log("\n================================================")
19 console.log("Tests completed in " + opts.runtime + " milliseconds")
20 console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.")
21 }