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

9 lines
198 B
JavaScript

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