diff --git a/.travis.yml b/.travis.yml index 4e71bd7..6c83248 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,5 @@ node_js: - "4.2" - "4.1" - "4.0" +after_success: + - coveralls diff --git a/test/unit/index.js b/test/unit/index.js index 386c9db..d1830c1 100644 --- a/test/unit/index.js +++ b/test/unit/index.js @@ -9,5 +9,4 @@ 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. -var srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/) -srcContext.keys().forEach(srcContext) \ No newline at end of file +var srcContext = require('../../src/components/Select.vue') \ No newline at end of file