Skip to content
Snippets Groups Projects
Unverified Commit 86f551d3 authored by Tom Robinson's avatar Tom Robinson
Browse files

update loaders, remove coverage for now [ci e2e]

parent d29e8fda
No related merge requests found
var webpackConfig = require('../../webpack.config');
webpackConfig.module.postLoaders = [
{ test: /\.js$/, exclude: /(\.spec\.js|vendor|node_modules)/, loader: 'istanbul-instrumenter' }
];
webpackConfig.module.loaders.forEach(function(loader) {
loader.loader = loader.loader.replace(/^.*extract-text-webpack-plugin[^!]+!/, "");
});
......@@ -25,7 +22,6 @@ module.exports = function(config) {
],
reporters: [
'progress',
'coverage',
'junit'
],
webpack: {
......@@ -36,17 +32,6 @@ module.exports = function(config) {
webpackMiddleware: {
stats: "errors-only"
},
coverageReporter: {
dir: '../coverage/',
subdir: function(browser) {
return browser.toLowerCase().split(/[ /-]/)[0];
},
reporters: [
{ type: 'text', file: 'text.txt' },
{ type: 'text-summary', file: 'text-summary.txt' },
{ type: 'html' }
]
},
junitReporter: {
outputDir: (process.env["CIRCLE_TEST_REPORTS"] || "..") + "/test-report-frontend"
},
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment