mirror of https://github.com/vuejs/vue.git
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
import Vue from 'vue'
|
|
|
|
// ignore whitespace in tests
|
|
Vue.config.preserveWhitespace = false
|
|
|
|
// import all helpers
|
|
const helpersContext = require.context('../helpers', true)
|
|
helpersContext.keys().forEach(helpersContext)
|
|
|
|
// require all test files
|
|
const testsContext = require.context('./', true, /\.spec$/)
|
|
testsContext.keys().forEach(testsContext)
|