File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
packages/schematics/angular/component Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -250,15 +250,6 @@ describe('Component Schematic', () => {
250250 } ) ;
251251
252252 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' , ( ) => {
262253 const options = { ...defaultOptions , style : Style . Sass } ;
263254 const tree = schematicRunner . runSchematic ( 'component' , options , appTree ) ;
264255 const content = tree . readContent ( '/projects/bar/src/app/foo/foo.component.ts' ) ;
You can’t perform that action at this time.
0 commit comments