source: imaps-frontend/node_modules/es-iterator-helpers/test/helpers/testIterator.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 217 bytes
Line 
1'use strict';
2
3var iterate = require('iterate-iterator');
4
5module.exports = function testIterator(iterator, expected, t, msg) {
6 t.deepEqual(iterate(iterator), expected, 'iterator yields expected values: ' + msg);
7};
Note: See TracBrowser for help on using the repository browser.