Skip to content

Commit ba44d94

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/angular_devkit/schematics/testing/schematic-test-runner.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ export class SchematicTestRunner {
7272
get logger(): logging.Logger { return this._logger; }
7373
get tasks(): TaskConfiguration[] { return [...this._engineHost.tasks]; }
7474

75+
registerCollection(collectionName: string, collectionPath: string) {
76+
this._engineHost.registerCollection(collectionName, collectionPath);
77+
}
78+
7579
runSchematicAsync<SchematicSchemaT>(
7680
schematicName: string,
7781
opts?: SchematicSchemaT,

0 commit comments

Comments
 (0)