Merge pull request #1321 from ZogStriP/i-want-my-dots-back
don't display debug information when running tests
This commit is contained in:
commit
f517df6768
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
// https://github.com/eviltrout/ember-renderspeed
|
||||
//
|
||||
if ((typeof console !== 'undefined') && console.groupCollapsed) {
|
||||
if ((typeof console !== 'undefined') && console.groupCollapsed && !window.QUnit) {
|
||||
|
||||
(function () {
|
||||
|
||||
|
|
|
@ -4864,10 +4864,12 @@ define("backburner",
|
|||
}
|
||||
}
|
||||
|
||||
var diff = new Date().getTime() - t2;
|
||||
|
||||
if ((typeof console !== 'undefined') && console.log && diff > 10) {
|
||||
console.log("Backburner: " + (new Date() - t2) + "ms");
|
||||
// make sure we can output to the console and we're not running QUnit tests
|
||||
if ((typeof console !== 'undefined') && console.log && !window.QUnit) {
|
||||
var diff = new Date().getTime() - t2;
|
||||
if (diff > 10) {
|
||||
console.log("Backburner: " + (new Date() - t2) + "ms");
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue