19 lines
362 B
JavaScript
19 lines
362 B
JavaScript
|
'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) {
|
||
|
test(shim + ': implementation', { todo: true });
|
||
|
}
|
||
|
if (shimTests) {
|
||
|
shimTests.implementation();
|
||
|
}
|
||
|
});
|