UNPKG

@angular-devkit/build-angular

Version:
30 lines (29 loc) 982 B
/** * @license * Copyright Google Inc. 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.io/license */ import { BuildEvent, Builder, BuilderConfiguration, BuilderContext } from '@angular-devkit/architect'; import { Observable } from 'rxjs'; export interface ProtractorBuilderOptions { protractorConfig: string; devServerTarget?: string; specs: string[]; suite?: string; elementExplorer: boolean; webdriverUpdate: boolean; port?: number; host: string; baseUrl: string; } export declare class ProtractorBuilder implements Builder<ProtractorBuilderOptions> { context: BuilderContext; constructor(context: BuilderContext); run(builderConfig: BuilderConfiguration<ProtractorBuilderOptions>): Observable<BuildEvent>; private _startDevServer; private _updateWebdriver; private _runProtractor; } export default ProtractorBuilder;