2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-22 20:30:33 +03:00

Add sample unit test

This commit is contained in:
cristijora
2017-05-04 22:38:34 +03:00
parent 1aed1da7ab
commit 6109d43328
4 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ testsContext.keys().forEach(testsContext)
// require all src files except main.js for coverage.
// you can also change this to match only the subset of files that
// you want coverage for.
const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
const srcContext = require.context('../../src', true, /^\.\/(?!main\.js$).+\.(js|vue)$/i)
srcContext.keys().forEach(srcContext)