From 1fcb9a09f9e1aa4353aa79f373334f3857b2afab Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 27 Feb 2019 08:19:11 +0100 Subject: [PATCH] test: remove now duplicate test --- packages/schematics/angular/component/index_spec.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/schematics/angular/component/index_spec.ts b/packages/schematics/angular/component/index_spec.ts index 7533dadb85..e79895f49c 100644 --- a/packages/schematics/angular/component/index_spec.ts +++ b/packages/schematics/angular/component/index_spec.ts @@ -250,15 +250,6 @@ describe('Component Schematic', () => { }); it('should respect the style option', () => { - const options = { ...defaultOptions, style: Style.Scss }; - const tree = schematicRunner.runSchematic('component', options, appTree); - const content = tree.readContent('/projects/bar/src/app/foo/foo.component.ts'); - expect(content).toMatch(/styleUrls: \['.\/foo.component.scss/); - expect(tree.files).toContain('/projects/bar/src/app/foo/foo.component.scss'); - expect(tree.files).not.toContain('/projects/bar/src/app/foo/foo.component.css'); - }); - - it('should respect the style preprocessor option', () => { const options = { ...defaultOptions, style: Style.Sass }; const tree = schematicRunner.runSchematic('component', options, appTree); const content = tree.readContent('/projects/bar/src/app/foo/foo.component.ts');