source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/testing/jasmine-helpers.d.ts@ 6a80231

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

initial commit

  • Property mode set to 100644
File size: 1.0 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 */
8/// <reference types="jasmine" />
9import { BuilderHandlerFn } from '@angular-devkit/architect';
10import { json } from '@angular-devkit/core';
11import { BuilderHarness } from './builder-harness';
12export declare function describeBuilder<T>(builderHandler: BuilderHandlerFn<T & json.JsonObject>, options: {
13 name?: string;
14 schemaPath: string;
15}, specDefinitions: (harness: JasmineBuilderHarness<T>) => void): void;
16declare class JasmineBuilderHarness<T> extends BuilderHarness<T> {
17 expectFile(path: string): HarnessFileMatchers;
18}
19export interface HarnessFileMatchers {
20 toExist(): boolean;
21 toNotExist(): boolean;
22 readonly content: jasmine.ArrayLikeMatchers<string>;
23 readonly size: jasmine.Matchers<number>;
24}
25export declare function expectFile<T>(path: string, harness: BuilderHarness<T>): HarnessFileMatchers;
26export {};
Note: See TracBrowser for help on using the repository browser.