implementation.js 362 B

123456789101112131415161718
  1. 'use strict';
  2. var test = require('tape');
  3. var forEach = require('for-each');
  4. var shims = require('../');
  5. forEach(shims, function (shim) {
  6. var shimTests;
  7. try {
  8. shimTests = require('./' + shim); // eslint-disable-line global-require
  9. } catch (e) {
  10. test(shim + ': implementation', { todo: true });
  11. }
  12. if (shimTests) {
  13. shimTests.implementation();
  14. }
  15. });