You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
391 B
20 lines
391 B
'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, import/no-dynamic-require |
|
} catch (e) { |
|
console.error(e); |
|
test(shim + ': index', { todo: true }); |
|
} |
|
if (shimTests) { |
|
shimTests.index(); |
|
} |
|
}); |
|
|
|
|