File tree 1 file changed +0
-9
lines changed
packages/schematics/angular/component
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -250,15 +250,6 @@ describe('Component Schematic', () => {
250
250
} ) ;
251
251
252
252
it ( 'should respect the style option' , ( ) => {
253
- const options = { ...defaultOptions , style : Style . Scss } ;
254
- const tree = schematicRunner . runSchematic ( 'component' , options , appTree ) ;
255
- const content = tree . readContent ( '/projects/bar/src/app/foo/foo.component.ts' ) ;
256
- expect ( content ) . toMatch ( / s t y l e U r l s : \[ ' .\/ f o o .c o m p o n e n t .s c s s / ) ;
257
- expect ( tree . files ) . toContain ( '/projects/bar/src/app/foo/foo.component.scss' ) ;
258
- expect ( tree . files ) . not . toContain ( '/projects/bar/src/app/foo/foo.component.css' ) ;
259
- } ) ;
260
-
261
- it ( 'should respect the style preprocessor option' , ( ) => {
262
253
const options = { ...defaultOptions , style : Style . Sass } ;
263
254
const tree = schematicRunner . runSchematic ( 'component' , options , appTree ) ;
264
255
const content = tree . readContent ( '/projects/bar/src/app/foo/foo.component.ts' ) ;
You can’t perform that action at this time.
0 commit comments