mon-entreprise/test/load-mecanism-tests.js

8 lines
197 B
JavaScript

import R from 'ramda'
let directoryLoaderFunction = require.context('./mécanismes', true, /.yaml$/)
let items = directoryLoaderFunction.keys().map(directoryLoaderFunction)
export default items