mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
fix: karma-webpack's Incorrect option name
This commit is contained in:
Vendored
+1
-1
@@ -36,6 +36,6 @@ declare module 'karma' {
|
||||
|
||||
interface ConfigOptions {
|
||||
webpack: Webpack.Configuration;
|
||||
webpackMiddlewareOptions: KarmaWebpackMiddlewareOptions;
|
||||
webpackMiddleware: KarmaWebpackMiddlewareOptions;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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']
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user