fix tests running
This commit is contained in:
parent
edb66ecade
commit
c3546ea856
|
@ -52,7 +52,7 @@
|
|||
"@vue/babel-helper-vue-jsx-merge-props": "1.2.1",
|
||||
"@vue/babel-preset-jsx": "1.2.4",
|
||||
"@vue/babel-plugin-jsx": "1.1.1",
|
||||
"@vue/test-utils": "1.0.0-beta.28",
|
||||
"@vue/test-utils": "2.0.0-rc.17",
|
||||
"@vue/compiler-sfc": "^3.1.0",
|
||||
"autoprefixer": "6.7.7",
|
||||
"babel-eslint": "7.2.3",
|
||||
|
@ -85,10 +85,10 @@
|
|||
"iso-639-1": "2.1.13",
|
||||
"isparta-loader": "2.0.0",
|
||||
"json-loader": "0.5.7",
|
||||
"karma": "3.1.4",
|
||||
"karma": "6.3.17",
|
||||
"karma-coverage": "1.1.2",
|
||||
"karma-firefox-launcher": "1.3.0",
|
||||
"karma-mocha": "1.3.0",
|
||||
"karma-mocha": "2.0.1",
|
||||
"karma-mocha-reporter": "2.2.5",
|
||||
"karma-sinon-chai": "2.0.2",
|
||||
"karma-sourcemap-loader": "0.3.8",
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
import { configureCompat } from 'vue'
|
||||
// disable compat for certain features
|
||||
configureCompat({
|
||||
COMPONENT_V_MODEL: false,
|
||||
INSTANCE_SET: false,
|
||||
RENDER_FUNCTION: false
|
||||
})
|
||||
// require all test files (files that ends with .spec.js)
|
||||
const testsContext = require.context('./specs', true, /\.spec$/)
|
||||
testsContext.keys().forEach(testsContext)
|
||||
|
|
Loading…
Reference in New Issue