File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 74
74
"@ljharb/eslint-config" : " ^21.1.0" ,
75
75
"aud" : " ^2.0.4" ,
76
76
"auto-changelog" : " ^2.4.0" ,
77
+ "es-get-iterator" : " ^1.1.3" ,
77
78
"es-map" : " ^1.0.5" ,
78
79
"es-value-fixtures" : " ^1.4.2" ,
79
80
"es6-shim" : " ^0.35.8" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ var forEach = require('for-each');
5
5
var v = require ( 'es-value-fixtures' ) ;
6
6
var debug = require ( 'object-inspect' ) ;
7
7
var $Map = require ( 'es-map/polyfill' ) ( ) ;
8
+ var getIterator = require ( 'es-get-iterator' ) ;
8
9
9
10
module . exports = function ( isDisjointFrom , t ) {
10
11
t . test ( 'throws on non-set receivers' , function ( st ) {
@@ -183,7 +184,7 @@ module.exports = function (isDisjointFrom, t) {
183
184
size : 2 ,
184
185
has : undefined ,
185
186
keys : function ( ) {
186
- return [ 2 , 3 ] ;
187
+ return getIterator ( [ 2 , 3 ] ) ;
187
188
}
188
189
} ;
189
190
st [ 'throws' ] (
@@ -248,7 +249,7 @@ module.exports = function (isDisjointFrom, t) {
248
249
size : undefined ,
249
250
has : function ( ) { } ,
250
251
keys : function ( ) {
251
- return [ 2 , 3 ] ;
252
+ return getIterator ( [ 2 , 3 ] ) ;
252
253
}
253
254
} ;
254
255
You can’t perform that action at this time.
0 commit comments