mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Fix test fails in older Safari and cleanup setProperty in test.js.
This commit is contained in:
3
vendor/qunit-extras/qunit-extras.js
vendored
3
vendor/qunit-extras/qunit-extras.js
vendored
@@ -331,13 +331,14 @@
|
||||
config = QUnit.config,
|
||||
index = -1,
|
||||
length = asserts.length,
|
||||
logs = config.extrasData.logs,
|
||||
queue = config.queue;
|
||||
|
||||
while (++index < length) {
|
||||
var assert = asserts[index];
|
||||
if (!assert.result && this.retries < config.asyncRetries) {
|
||||
this.retries++;
|
||||
config.extrasData.logs.length -= asserts.length;
|
||||
logs.length = Math.max(0, logs.length - asserts.length);
|
||||
asserts.length = 0;
|
||||
|
||||
var oldLength = queue.length;
|
||||
|
||||
Reference in New Issue
Block a user