4 lines
133 B
JavaScript
4 lines
133 B
JavaScript
require('fs').readdirSync(__dirname).forEach(function(f) {
|
|
if (f.substr(0, 5).toLowerCase() === 'test-')
|
|
require('./' + f);
|
|
}); |