File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
projects/igniteui-angular/migrations/update-15_1_0 Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,7 @@ describe(`Update to ${version}`, () => {
145
145
`$custom-scrollbar: scrollbar-theme($size: 10px);`
146
146
) ;
147
147
148
- const tree = await schematicRunner
149
- . runSchematicAsync ( migrationName , { } , appTree )
150
- . toPromise ( ) ;
148
+ const tree = await schematicRunner . runSchematic ( migrationName , { shouldInvokeLS : false } , appTree ) ;
151
149
152
150
expect ( tree . readContent ( '/testSrc/appPrefix/component/test.component.scss' ) ) . toEqual (
153
151
`$custom-scrollbar: scrollbar-theme($scrollbar-size: 10px);`
@@ -160,9 +158,7 @@ describe(`Update to ${version}`, () => {
160
158
`$custom-input: input-group-theme($label-floated-background: transparent, $label-floated-disabled-background: transparent);`
161
159
) ;
162
160
163
- const tree = await schematicRunner
164
- . runSchematicAsync ( migrationName , { } , appTree )
165
- . toPromise ( ) ;
161
+ const tree = await schematicRunner . runSchematic ( migrationName , { shouldInvokeLS : false } , appTree ) ;
166
162
167
163
expect ( tree . readContent ( '/testSrc/appPrefix/component/test.component.scss' ) ) . toEqual (
168
164
`$custom-input: input-group-theme();`
You can’t perform that action at this time.
0 commit comments