fix tests running
This commit is contained in:
parent
edb66ecade
commit
c3546ea856
3 changed files with 332 additions and 445 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue