diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-30 18:15:01 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-30 18:15:01 +0100 |
| commit | 20b2675471f028a0e8b7a7c52bdfb48aed1dfb10 (patch) | |
| tree | 1fbc62d623b40db82e1d0146b77da3977a6b308a /test/unit/karma.conf.js | |
| parent | 5badc930c9c691b52ab0a4b3aaf76e2855cc891c (diff) | |
Remove coverage from tests for now.
Breaks the specs.
Diffstat (limited to 'test/unit/karma.conf.js')
| -rw-r--r-- | test/unit/karma.conf.js | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js index 78910f42..89f21b2e 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({ |
