mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Update vendor/qunit-extras.
This commit is contained in:
8
vendor/qunit-extras/qunit-extras.js
vendored
8
vendor/qunit-extras/qunit-extras.js
vendored
@@ -513,10 +513,11 @@
|
|||||||
QUnit.testDone(function(details) {
|
QUnit.testDone(function(details) {
|
||||||
var config = QUnit.config,
|
var config = QUnit.config,
|
||||||
failures = details.failed,
|
failures = details.failed,
|
||||||
|
hidepassed = config.hidepassed,
|
||||||
logs = config.extrasData.logs,
|
logs = config.extrasData.logs,
|
||||||
testName = details.name;
|
testName = details.name;
|
||||||
|
|
||||||
if (!config.hidepassed || failures) {
|
if (!hidepassed || failures) {
|
||||||
logInline('');
|
logInline('');
|
||||||
if (!modulePrinted) {
|
if (!modulePrinted) {
|
||||||
modulePrinted = true;
|
modulePrinted = true;
|
||||||
@@ -531,7 +532,10 @@
|
|||||||
length = logs.length;
|
length = logs.length;
|
||||||
|
|
||||||
while(++index < length) {
|
while(++index < length) {
|
||||||
console.log(' ' + logs[index]);
|
var message = logs[index];
|
||||||
|
if (!hidepassed || /^\W*FAIL/.test(message)) {
|
||||||
|
console.log(' ' + message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user