From 20b2675471f028a0e8b7a7c52bdfb48aed1dfb10 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 30 Nov 2016 18:15:01 +0100 Subject: [PATCH] Remove coverage from tests for now. Breaks the specs. --- test/unit/karma.conf.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js index 78910f426f..89f21b2e51 100644 --- a/test/unit/karma.conf.js +++ b/test/unit/karma.conf.js @@ -16,11 +16,11 @@ var webpackConfig = merge(baseConfig, { loaders: utils.styleLoaders() }, devtool: '#inline-source-map', - vue: { - loaders: { - js: 'isparta' - } - }, + // vue: { + // loaders: { + // js: 'isparta' + // } + // }, plugins: [ new webpack.DefinePlugin({ 'process.env': require('../../config/test.env') @@ -32,20 +32,20 @@ var webpackConfig = merge(baseConfig, { delete webpackConfig.entry // make sure isparta loader is applied before eslint -webpackConfig.module.preLoaders = webpackConfig.module.preLoaders || [] -webpackConfig.module.preLoaders.unshift({ - test: /\.js$/, - loader: 'isparta', - include: path.resolve(projectRoot, 'src') -}) +// webpackConfig.module.preLoaders = webpackConfig.module.preLoaders || [] +// webpackConfig.module.preLoaders.unshift({ +// test: /\.js$/, +// loader: 'isparta', +// include: path.resolve(projectRoot, 'src') +// }) -// only apply babel for test files when using isparta -webpackConfig.module.loaders.some(function (loader, i) { - if (loader.loader === 'babel') { - loader.include = path.resolve(projectRoot, 'test/unit') - return true - } -}) +// // only apply babel for test files when using isparta +// webpackConfig.module.loaders.some(function (loader, i) { +// if (loader.loader === 'babel') { +// loader.include = path.resolve(projectRoot, 'test/unit') +// return true +// } +// }) module.exports = function (config) { config.set({