66
77import { BuilderContext } from ' @angular-devkit/architect' ;
88import { BuilderOutput } from ' @angular-devkit/architect' ;
9+ import type { ConfigOptions } from ' karma' ;
910import type http from ' node:http' ;
1011import { OutputFile } from ' esbuild' ;
1112import type { Plugin as Plugin_2 } from ' esbuild' ;
@@ -151,9 +152,17 @@ export function executeDevServerBuilder(options: DevServerBuilderOptions, contex
151152// @public
152153export function executeExtractI18nBuilder(options : ExtractI18nBuilderOptions , context : BuilderContext , extensions ? : ApplicationBuilderExtensions ): Promise <BuilderOutput >;
153154
155+ // @public
156+ export function executeKarmaBuilder(options : KarmaBuilderOptions , context : BuilderContext , transforms ? : {
157+ karmaOptions? : (options : KarmaConfigOptions ) => KarmaConfigOptions ;
158+ }): AsyncIterable <BuilderOutput >;
159+
154160// @public
155161export function executeNgPackagrBuilder(options : NgPackagrBuilderOptions , context : BuilderContext ): AsyncIterableIterator <BuilderOutput >;
156162
163+ // @public
164+ export function executeUnitTestBuilder(options : UnitTestBuilderOptions , context : BuilderContext , extensions ? : ApplicationBuilderExtensions ): AsyncIterable <BuilderOutput >;
165+
157166// @public
158167export type ExtractI18nBuilderOptions = {
159168 buildTarget? : string ;
@@ -164,6 +173,40 @@ export type ExtractI18nBuilderOptions = {
164173 progress? : boolean ;
165174};
166175
176+ // @public
177+ export type KarmaBuilderOptions = {
178+ aot? : boolean ;
179+ assets? : AssetPattern_2 [];
180+ browsers? : Browsers ;
181+ codeCoverage? : boolean ;
182+ codeCoverageExclude? : string [];
183+ define? : {
184+ [key : string ]: string ;
185+ };
186+ exclude? : string [];
187+ externalDependencies? : string [];
188+ fileReplacements? : FileReplacement_2 [];
189+ include? : string [];
190+ inlineStyleLanguage? : InlineStyleLanguage_2 ;
191+ karmaConfig? : string ;
192+ loader? : {
193+ [key : string ]: any ;
194+ };
195+ main? : string ;
196+ poll? : number ;
197+ polyfills? : string [];
198+ preserveSymlinks? : boolean ;
199+ progress? : boolean ;
200+ reporters? : string [];
201+ scripts? : ScriptElement_2 [];
202+ sourceMap? : SourceMapUnion_2 ;
203+ stylePreprocessorOptions? : StylePreprocessorOptions_2 ;
204+ styles? : StyleElement_2 [];
205+ tsConfig: string ;
206+ watch? : boolean ;
207+ webWorkerTsConfig? : string ;
208+ };
209+
167210// @public
168211export type NgPackagrBuilderOptions = {
169212 poll? : number ;
@@ -172,6 +215,23 @@ export type NgPackagrBuilderOptions = {
172215 watch? : boolean ;
173216};
174217
218+ // @public
219+ export type UnitTestBuilderOptions = {
220+ browsers? : string [];
221+ buildTarget: string ;
222+ codeCoverage? : boolean ;
223+ codeCoverageExclude? : string [];
224+ codeCoverageReporters? : SchemaCodeCoverageReporter [];
225+ debug? : boolean ;
226+ exclude? : string [];
227+ include? : string [];
228+ providersFile? : string ;
229+ reporters? : string [];
230+ runner: Runner ;
231+ tsConfig: string ;
232+ watch? : boolean ;
233+ };
234+
175235// (No @packageDocumentation comment for this package)
176236
177237```
0 commit comments