@@ -150,35 +150,25 @@ describe(`Update to ${version}`, () => {
150150
151151 it ( 'should remove the disabled property from the igx-radio-group' , async ( ) => {
152152 appTree . create (
153- `/testSrc/appPrefix/component/test.component.scss` ,
154- `<igx-radio-group disabled></igx-radio-group>`
155- ) ;
156-
157- const tree = await schematicRunner
158- . runSchematicAsync ( migrationName , { } , appTree )
153+ '/testSrc/appPrefix/component/test.component.html' , `
154+ <igx-radio-group disabled="true"></igx-radio-group>` ) ;
155+ const tree = await schematicRunner . runSchematicAsync ( migrationName , { } , appTree )
159156 . toPromise ( ) ;
160157
161- expect (
162- tree . readContent ( '/testSrc/appPrefix/component/test.component.scss' )
163- ) . toEqual (
164- `<igx-radio-group></igx-radio-group>`
165- ) ;
158+ expect ( tree . readContent ( '/testSrc/appPrefix/component/test.component.html' ) )
159+ . toEqual ( `
160+ <igx-radio-group></igx-radio-group>` ) ;
166161 } ) ;
167162
168163 it ( 'should remove the labelPosition property from the igx-radio-group' , async ( ) => {
169164 appTree . create (
170- `/testSrc/appPrefix/component/test.component.scss` ,
171- `<igx-radio-group labelPosition="before"></igx-radio-group>`
172- ) ;
173-
174- const tree = await schematicRunner
175- . runSchematicAsync ( migrationName , { } , appTree )
165+ '/testSrc/appPrefix/component/test.component.html' , `
166+ <igx-radio-group labelPosition="before"></igx-radio-group>` ) ;
167+ const tree = await schematicRunner . runSchematicAsync ( migrationName , { } , appTree )
176168 . toPromise ( ) ;
177169
178- expect (
179- tree . readContent ( '/testSrc/appPrefix/component/test.component.scss' )
180- ) . toEqual (
181- `<igx-radio-group></igx-radio-group>`
182- ) ;
170+ expect ( tree . readContent ( '/testSrc/appPrefix/component/test.component.html' ) )
171+ . toEqual ( `
172+ <igx-radio-group></igx-radio-group>` ) ;
183173 } ) ;
184174} ) ;
0 commit comments