node-serialport-bindings-cpp/test/initializers/index.js
Francis Gulotta b1cc840e5a
fix: enabling disabled tests rename all pkgs to lib (#1941)
We weren't calling a few more tests and I standardized the package layout so this is harder to miss.
2019-09-24 22:03:13 -04:00

6 lines
207 B
JavaScript

const fs = require('fs')
const files = fs.readdirSync(__dirname).filter(file => file !== 'index.js' && file.match(/\.js$/))
files.forEach(file => {
console.log(`Loading ${file}`)
require(`./${file}`)
})