@@ -333,33 +333,4 @@ describe('Component Schematic', () => {
333
333
. toPromise ( ) ;
334
334
expect ( appTree . files ) . toContain ( '/projects/bar/custom/app/foo/foo.component.ts' ) ;
335
335
} ) ;
336
-
337
- // testing deprecating options don't cause conflicts
338
- it ( 'should respect the deprecated styleext (scss) option' , async ( ) => {
339
- const options = { ...defaultOptions , style : undefined , styleext : 'scss' } ;
340
- const tree = await schematicRunner . runSchematicAsync ( 'component' , options , appTree ) . toPromise ( ) ;
341
- const files = tree . files ;
342
- expect ( files ) . toContain ( '/projects/bar/src/app/foo/foo.component.scss' ) ;
343
- } ) ;
344
-
345
- it ( 'should respect the deprecated styleext (css) option' , async ( ) => {
346
- const options = { ...defaultOptions , style : undefined , styleext : 'css' } ;
347
- const tree = await schematicRunner . runSchematicAsync ( 'component' , options , appTree ) . toPromise ( ) ;
348
- const files = tree . files ;
349
- expect ( files ) . toContain ( '/projects/bar/src/app/foo/foo.component.css' ) ;
350
- } ) ;
351
-
352
- it ( 'should respect the deprecated spec option when false' , async ( ) => {
353
- const options = { ...defaultOptions , skipTests : undefined , spec : false } ;
354
- const tree = await schematicRunner . runSchematicAsync ( 'component' , options , appTree ) . toPromise ( ) ;
355
- const files = tree . files ;
356
- expect ( files ) . not . toContain ( '/projects/bar/src/app/foo/foo.component.spec.ts' ) ;
357
- } ) ;
358
-
359
- it ( 'should respect the deprecated spec option when true' , async ( ) => {
360
- const options = { ...defaultOptions , skipTests : false , spec : true } ;
361
- const tree = await schematicRunner . runSchematicAsync ( 'component' , options , appTree ) . toPromise ( ) ;
362
- const files = tree . files ;
363
- expect ( files ) . toContain ( '/projects/bar/src/app/foo/foo.component.spec.ts' ) ;
364
- } ) ;
365
336
} ) ;
0 commit comments