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