index.js 610 B

12345678910111213141516
  1. import { configureCompat } from 'vue'
  2. // disable compat for certain features
  3. configureCompat({
  4. COMPONENT_V_MODEL: false,
  5. INSTANCE_SET: false,
  6. RENDER_FUNCTION: false
  7. })
  8. // require all test files (files that ends with .spec.js)
  9. const testsContext = require.context('./specs', true, /\.spec$/)
  10. testsContext.keys().forEach(testsContext)
  11. // require all src files except main.js for coverage.
  12. // you can also change this to match only the subset of files that
  13. // you want coverage for.
  14. // const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
  15. // srcContext.keys().forEach(srcContext)