source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/dev-server/tests/setup.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Schema as BrowserSchema } from '../../browser/schema';
9import { BuilderHarness } from '../../testing/builder-harness';
10import { Schema } from '../schema';
11export { describeBuilder } from '../../testing';
12export declare const DEV_SERVER_BUILDER_INFO: Readonly<{
13 name: string;
14 schemaPath: string;
15}>;
16/**
17 * Contains all required dev-server builder fields.
18 * The port is also set to zero to ensure a free port is used for each test which
19 * supports parallel test execution.
20 */
21export declare const BASE_OPTIONS: Readonly<Schema>;
22/**
23 * Maximum time for single build/rebuild
24 * This accounts for CI variability.
25 */
26export declare const BUILD_TIMEOUT = 15000;
27/**
28 * Adds a `build` target to a builder test harness for the browser builder with the base options
29 * used by the browser builder tests.
30 *
31 * @param harness The builder harness to use when setting up the browser builder target
32 * @param extraOptions The additional options that should be used when executing the target.
33 */
34export declare function setupBrowserTarget<T>(harness: BuilderHarness<T>, extraOptions?: Partial<BrowserSchema>): void;
Note: See TracBrowser for help on using the repository browser.