Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
karma: Remove no longer required karma-webpack hangs workaround (#1294)
Browse files Browse the repository at this point in the history
Since the underlying issue (codymikol/karma-webpack#322) is now
fixed in the latest RC of karma-webpack.
  • Loading branch information
edmorley committed Feb 14, 2019
1 parent fb345a1 commit a67a115
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/karma/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,7 @@ module.exports = (neutrino, options = {}) => {
warnings: true
}
},
webpack: merge(
omit(neutrino.config.toConfig(), ['entry']),
// Work around `yarn test` hanging under webpack 4:
// https://github.com/webpack-contrib/karma-webpack/issues/322
{
optimization: {
splitChunks: false,
runtimeChunk: false
}
}
),
webpack: omit(neutrino.config.toConfig(), ['entry']),
reporters: ['mocha', 'coverage'],
coverageReporter: {
dir: '.coverage',
Expand Down

0 comments on commit a67a115

Please sign in to comment.