We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a312a75 commit 8a98d67Copy full SHA for 8a98d67
lib/node_modules/@stdlib/iter/push/test/test.js
@@ -495,10 +495,10 @@ tape( 'if an environment supports `Symbol.iterator` and the provided iterator is
495
opts = {
496
'seed': 12345
497
};
498
- rand = randu( opts, 1, 2, 3 );
+ rand = randu( opts );
499
rand[ '__ITERATOR_SYMBOL__' ] = factory;
500
501
- it1 = iterPush( rand );
+ it1 = iterPush( rand, 1, 2, 3 );
502
t.equal( typeof it1[ '__ITERATOR_SYMBOL__' ], 'function', 'has method' );
503
t.equal( it1[ '__ITERATOR_SYMBOL__' ].length, 0, 'has zero arity' );
504
0 commit comments