mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Update excused Underscore tests.
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
],
|
],
|
||||||
'indexOf': [
|
'indexOf': [
|
||||||
"sorted indexOf doesn't uses binary search",
|
"sorted indexOf doesn't uses binary search",
|
||||||
'non-nums as fromIndex make indexOf assume sorted'
|
'0'
|
||||||
],
|
],
|
||||||
'initial': [
|
'initial': [
|
||||||
'initial can take an index',
|
'initial can take an index',
|
||||||
@@ -69,6 +69,8 @@
|
|||||||
'0'
|
'0'
|
||||||
],
|
],
|
||||||
'lastIndexOf': [
|
'lastIndexOf': [
|
||||||
|
'should treat falsey `fromIndex` values, except `0` and `NaN`, as `array.length`',
|
||||||
|
'should treat non-number `fromIndex` values as `array.length`',
|
||||||
'[0,-1,-1]'
|
'[0,-1,-1]'
|
||||||
],
|
],
|
||||||
'rest': [
|
'rest': [
|
||||||
@@ -129,6 +131,7 @@
|
|||||||
],
|
],
|
||||||
'every': [
|
'every': [
|
||||||
'Can be called with object',
|
'Can be called with object',
|
||||||
|
'Died on test #15',
|
||||||
'context works'
|
'context works'
|
||||||
],
|
],
|
||||||
'filter': [
|
'filter': [
|
||||||
@@ -158,6 +161,9 @@
|
|||||||
'groupBy': [
|
'groupBy': [
|
||||||
'true'
|
'true'
|
||||||
],
|
],
|
||||||
|
'includes': [
|
||||||
|
"doesn't delegate to binary search"
|
||||||
|
],
|
||||||
'invoke': [
|
'invoke': [
|
||||||
'handles null & undefined'
|
'handles null & undefined'
|
||||||
],
|
],
|
||||||
@@ -193,6 +199,7 @@
|
|||||||
],
|
],
|
||||||
'some': [
|
'some': [
|
||||||
'Can be called with object',
|
'Can be called with object',
|
||||||
|
'Died on test #17',
|
||||||
'context works'
|
'context works'
|
||||||
],
|
],
|
||||||
'where': [
|
'where': [
|
||||||
@@ -333,10 +340,6 @@
|
|||||||
};
|
};
|
||||||
}());
|
}());
|
||||||
|
|
||||||
// Only excuse for core builds.
|
|
||||||
if (!ui.isCore) {
|
|
||||||
delete QUnit.config.excused.Arrays.indexOf;
|
|
||||||
}
|
|
||||||
// Only excuse in Sauce Labs.
|
// Only excuse in Sauce Labs.
|
||||||
if (!ui.isSauceLabs) {
|
if (!ui.isSauceLabs) {
|
||||||
delete QUnit.config.excused.Functions['throttle repeatedly with results'];
|
delete QUnit.config.excused.Functions['throttle repeatedly with results'];
|
||||||
|
|||||||
Reference in New Issue
Block a user