From 4f21eb991dba5d242909fa1a668d0c48d29e6d4b Mon Sep 17 00:00:00 2001 From: Asuka Ito Date: Sat, 24 Feb 2018 23:45:34 +0900 Subject: [PATCH] fix: karma-webpack's Incorrect option name --- types/karma-webpack/index.d.ts | 2 +- types/karma-webpack/karma-webpack-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'] }); }