File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/schematics/update Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
import { virtualFs } from '@angular-devkit/core' ;
9
- import { HostTree , VirtualTree } from '@angular-devkit/schematics' ;
9
+ import { HostTree } from '@angular-devkit/schematics' ;
10
10
import { SchematicTestRunner , UnitTestTree } from '@angular-devkit/schematics/testing' ;
11
11
import { map } from 'rxjs/operators' ;
12
12
@@ -16,7 +16,7 @@ describe('@schematics/update:migrate', () => {
16
16
'@schematics/update' , __dirname + '/../collection.json' ,
17
17
) ;
18
18
let host : virtualFs . test . TestHost ;
19
- let appTree : UnitTestTree = new UnitTestTree ( new VirtualTree ( ) ) ;
19
+ let appTree : UnitTestTree = new UnitTestTree ( new HostTree ( ) ) ;
20
20
21
21
beforeEach ( ( ) => {
22
22
host = new virtualFs . test . TestHost ( { } ) ;
Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
import { normalize , virtualFs } from '@angular-devkit/core' ;
9
- import { HostTree , VirtualTree } from '@angular-devkit/schematics' ;
9
+ import { HostTree } from '@angular-devkit/schematics' ;
10
10
import { SchematicTestRunner , UnitTestTree } from '@angular-devkit/schematics/testing' ;
11
11
import { map } from 'rxjs/operators' ;
12
12
import * as semver from 'semver' ;
@@ -36,7 +36,7 @@ describe('@schematics/update', () => {
36
36
'@schematics/update' , __dirname + '/../collection.json' ,
37
37
) ;
38
38
let host : virtualFs . test . TestHost ;
39
- let appTree : UnitTestTree = new UnitTestTree ( new VirtualTree ( ) ) ;
39
+ let appTree : UnitTestTree = new UnitTestTree ( new HostTree ( ) ) ;
40
40
41
41
beforeEach ( ( ) => {
42
42
host = new virtualFs . test . TestHost ( {
You can’t perform that action at this time.
0 commit comments