Move bench-folder in tests-folder
First part of reorganizing and cleaning up test-folders.
This commit is contained in:
committed by
Jay Linski
parent
c295ef085f
commit
3bd0fa8b32
@@ -0,0 +1,9 @@
|
||||
var fs = require('fs');
|
||||
|
||||
var templates = fs.readdirSync(__dirname);
|
||||
templates.forEach(function(template) {
|
||||
if (template === 'index.js' || !/(.*)\.js$/.test(template)) {
|
||||
return;
|
||||
}
|
||||
module.exports[RegExp.$1] = require('./' + RegExp.$1);
|
||||
});
|
||||
Reference in New Issue
Block a user