File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed
src/cdk/schematics/testing Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,21 @@ export async function createTestProject(
16
16
appOptions = { } ,
17
17
tree ?: Tree ,
18
18
) : Promise < UnitTestTree > {
19
- const workspaceTree = await runner
20
- . runExternalSchematicAsync (
21
- '@schematics/angular' ,
22
- 'workspace' ,
23
- {
24
- name : 'workspace' ,
25
- version : '6.0.0' ,
26
- newProjectRoot : 'projects' ,
27
- } ,
28
- tree ,
29
- )
30
- . toPromise ( ) ;
19
+ const workspaceTree = await runner . runExternalSchematic (
20
+ '@schematics/angular' ,
21
+ 'workspace' ,
22
+ {
23
+ name : 'workspace' ,
24
+ version : '6.0.0' ,
25
+ newProjectRoot : 'projects' ,
26
+ } ,
27
+ tree ,
28
+ ) ;
31
29
32
- return runner
33
- . runExternalSchematicAsync (
34
- '@schematics/angular' ,
35
- projectType ,
36
- { name : 'material' , ...appOptions } ,
37
- workspaceTree ,
38
- )
39
- . toPromise ( ) ;
30
+ return runner . runExternalSchematic (
31
+ '@schematics/angular' ,
32
+ projectType ,
33
+ { name : 'material' , ...appOptions } ,
34
+ workspaceTree ,
35
+ ) ;
40
36
}
You can’t perform that action at this time.
0 commit comments