fix: karma-webpack's Incorrect option name

This commit is contained in:
Asuka Ito
2018-02-25 09:34:45 +09:00
parent 48561aeea5
commit 4f21eb991d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,6 +36,6 @@ declare module 'karma' {
interface ConfigOptions {
webpack: Webpack.Configuration;
webpackMiddlewareOptions: KarmaWebpackMiddlewareOptions;
webpackMiddleware: KarmaWebpackMiddlewareOptions;
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ export default function(config: karma.Config): void {
frameworks: ['jasmine'],
preprocessors: {'src/index.spec.ts': ['webpack', 'sourcemap']},
webpack: {entry: 'test.js'},
webpackMiddlewareOptions: {noInfo: true},
webpackMiddleware: {noInfo: true},
reporters: ['spec']
});
}