mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27: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) {
|
||||
var config = QUnit.config,
|
||||
failures = details.failed,
|
||||
hidepassed = config.hidepassed,
|
||||
logs = config.extrasData.logs,
|
||||
testName = details.name;
|
||||
|
||||
if (!config.hidepassed || failures) {
|
||||
if (!hidepassed || failures) {
|
||||
logInline('');
|
||||
if (!modulePrinted) {
|
||||
modulePrinted = true;
|
||||
@@ -531,7 +532,10 @@
|
||||
length = logs.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