Skip to content

Commit 11c8e93

Browse files
ukrukargmgechev
authored andcommitted
feat(@angular-devkit/schematics): Add registerCollection to SchematicsTestRunner
Fixes #14833
1 parent ba44d94 commit 11c8e93

File tree

1 file changed

+1
-0
lines changed
  • etc/api/angular_devkit/schematics/testing

1 file changed

+1
-0
lines changed

etc/api/angular_devkit/schematics/testing/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export declare class SchematicTestRunner {
44
readonly tasks: TaskConfiguration[];
55
constructor(_collectionName: string, collectionPath: string);
66
callRule(rule: Rule, tree: Tree, parentContext?: Partial<SchematicContext>): Observable<Tree>;
7+
registerCollection(collectionName: string, collectionPath: string): void;
78
runExternalSchematic<SchematicSchemaT>(collectionName: string, schematicName: string, opts?: SchematicSchemaT, tree?: Tree): UnitTestTree;
89
runExternalSchematicAsync<SchematicSchemaT>(collectionName: string, schematicName: string, opts?: SchematicSchemaT, tree?: Tree): Observable<UnitTestTree>;
910
runSchematic<SchematicSchemaT>(schematicName: string, opts?: SchematicSchemaT, tree?: Tree): UnitTestTree;

0 commit comments

Comments
 (0)