index.js 348 B

123456789101112
  1. import Vue from 'vue'
  2. // ignore whitespace in tests
  3. Vue.config.preserveWhitespace = false
  4. // import all helpers
  5. const helpersContext = require.context('../helpers', true)
  6. helpersContext.keys().forEach(helpersContext)
  7. // require all test files
  8. const testsContext = require.context('./', true, /\.spec$/)
  9. testsContext.keys().forEach(testsContext)