diff --git a/types/karma-webpack/index.d.ts b/types/karma-webpack/index.d.ts index 988e510b56..73e65a39f5 100644 --- a/types/karma-webpack/index.d.ts +++ b/types/karma-webpack/index.d.ts @@ -36,6 +36,6 @@ declare module 'karma' { interface ConfigOptions { webpack: Webpack.Configuration; - webpackMiddlewareOptions: KarmaWebpackMiddlewareOptions; + webpackMiddleware: KarmaWebpackMiddlewareOptions; } } diff --git a/types/karma-webpack/karma-webpack-tests.ts b/types/karma-webpack/karma-webpack-tests.ts index b04b02f9db..75110b7540 100644 --- a/types/karma-webpack/karma-webpack-tests.ts +++ b/types/karma-webpack/karma-webpack-tests.ts @@ -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'] }); }