akkoma-fe/test/unit/index.js

3 lines
165 B
JavaScript

// require all test files (files that ends with .spec.js)
const testsContext = require.context('./specs', true, /\.spec$/)
testsContext.keys().forEach(testsContext)