securityos/node_modules/es-iterator-helpers/test/index.js

21 lines
365 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
var test = require('tape');
var forEach = require('for-each');
var shims = require('../');
forEach(shims, function (shim) {
var shimTests;
try {
shimTests = require('./' + shim); // eslint-disable-line global-require
} catch (e) {
console.error(e);
test(shim + ': index', { todo: true });
}
if (shimTests) {
shimTests.index();
}
});