We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c3156 commit 847430aCopy full SHA for 847430a
templates/Angular2Spa/ClientApp/test/karma.conf.js
@@ -20,7 +20,7 @@ module.exports = function (config) {
20
browsers: ['Chrome'],
21
mime: { 'application/javascript': ['ts','tsx'] },
22
singleRun: false,
23
- webpack: require('../../webpack.config.js').filter(config => config.target !== 'node'), // Test against client bundle, because tests run in a browser
+ webpack: require('../../webpack.config.js')().filter(config => config.target !== 'node'), // Test against client bundle, because tests run in a browser
24
webpackMiddleware: { stats: 'errors-only' }
25
});
26
};
0 commit comments