Skip to content

Commit 2bac4a5

Browse files
clydindgp1130
authored andcommitted
refactor(@schematics/angular): replace deprecated schematic test call
1 parent 371e448 commit 2bac4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/interceptor/index_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('Interceptor Schematic', () => {
3636
};
3737
let appTree: UnitTestTree;
3838
beforeEach(async () => {
39-
appTree = schematicRunner.runSchematic('workspace', workspaceOptions);
39+
appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
4040
appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
4141
});
4242

0 commit comments

Comments
 (0)