Back to Angular Cli

Index.Api

goldens/public-api/angular_devkit/schematics/testing/index.api.md

22.0.0-next.71.5 KB
Original Source

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

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

ts

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 'node: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)