@@ -107,7 +107,6 @@ class AngularAssetsMiddleware {
107
107
}
108
108
109
109
function injectKarmaReporter (
110
- context : BuilderContext ,
111
110
buildOptions : BuildOptions ,
112
111
buildIterator : AsyncIterator < Result > ,
113
112
karmaConfig : Config & ConfigOptions ,
@@ -207,7 +206,7 @@ export function execute(
207
206
// If `--watch` is explicitly enabled or if we are keeping the Karma
208
207
// process running, we should hook Karma into the build.
209
208
if ( buildIterator ) {
210
- injectKarmaReporter ( context , buildOptions , buildIterator , karmaConfig , subscriber ) ;
209
+ injectKarmaReporter ( buildOptions , buildIterator , karmaConfig , subscriber ) ;
211
210
}
212
211
213
212
// Complete the observable once the Karma server returns.
@@ -352,6 +351,7 @@ async function initializeApplication(
352
351
polyfills : normalizePolyfills ( options . polyfills ) ,
353
352
webWorkerTsConfig : options . webWorkerTsConfig ,
354
353
watch : options . watch ?? ! karmaOptions . singleRun ,
354
+ stylePreprocessorOptions : options . stylePreprocessorOptions ,
355
355
} ;
356
356
357
357
// Build tests with `application` builder, using test files as entry points.
0 commit comments