including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
'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) {
test(shim + ': implementation', { todo: true });
}
if (shimTests) {
shimTests.implementation();
}
});