aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-22 16:40:09 +0200
committerHenry Jameson <me@hjkos.com>2022-03-22 18:22:23 +0200
commitc3546ea8567fc29a795e11d1e5303ea46ed596e0 (patch)
tree36c9691378e656e784ba2bb18a7f1e077dab86ec /test
parentedb66ecade3b5d4cdd5a11f9053ebb9c35d8b67f (diff)
fix tests running
Diffstat (limited to 'test')
-rw-r--r--test/unit/index.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/index.js b/test/unit/index.js
index 83a2dcdb..24d2825c 100644
--- a/test/unit/index.js
+++ b/test/unit/index.js
@@ -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)