Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.55 KB

File metadata and controls

45 lines (37 loc) · 1.55 KB

API Report File for "@angular-devkit/schematics_testing"

Do not edit this file. It is a report generated by API Extractor.

/// <reference types="node" />

import { JsonValue } from '@angular-devkit/core';
import { logging } from '@angular-devkit/core';
import { Observable } from 'rxjs';
import { Path } from '@angular-devkit/core';
import { PathFragment } from '@angular-devkit/core';
import { Url } from 'url';

// @public (undocumented)
export class SchematicTestRunner {
    constructor(_collectionName: string, collectionPath: string);
    // (undocumented)
    callRule(rule: Rule, tree: Tree_2, parentContext?: Partial<SchematicContext>): Observable<Tree_2>;
    // (undocumented)
    get engine(): SchematicEngine<{}, {}>;
    // (undocumented)
    get logger(): logging.Logger;
    // (undocumented)
    registerCollection(collectionName: string, collectionPath: string): void;
    // (undocumented)
    runExternalSchematic<SchematicSchemaT extends object>(collectionName: string, schematicName: string, opts?: SchematicSchemaT, tree?: Tree_2): Promise<UnitTestTree>;
    // (undocumented)
    runSchematic<SchematicSchemaT extends object>(schematicName: string, opts?: SchematicSchemaT, tree?: Tree_2): Promise<UnitTestTree>;
    // (undocumented)
    get tasks(): TaskConfiguration[];
}

// @public (undocumented)
export class UnitTestTree extends DelegateTree {
    // (undocumented)
    get files(): string[];
    // (undocumented)
    readContent(path: string): string;
}

// (No @packageDocumentation comment for this package)