index.js 256 B

1234567
  1. // import all helpers
  2. const helpersContext = require.context('../helpers', true)
  3. helpersContext.keys().forEach(helpersContext)
  4. // require all test files
  5. const testsContext = require.context('./', true, /\.spec$/)
  6. testsContext.keys().forEach(testsContext)