UNPKG

@angular/build

Version:

Official build system for Angular

16 lines (15 loc) 772 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import type { BuilderContext, BuilderOutput } from '@angular-devkit/architect'; import type { ConfigOptions } from 'karma'; import { ResultFile } from '../application/results'; import { Schema as KarmaBuilderOptions } from './schema'; export declare function execute(options: KarmaBuilderOptions, context: BuilderContext, karmaOptions: ConfigOptions, transforms?: { karmaOptions?: (options: ConfigOptions) => ConfigOptions; }): AsyncIterable<BuilderOutput>; export declare function writeTestFiles(files: Record<string, ResultFile>, testDir: string): Promise<void>;