Skip to content

Commit 1fcb9a0

Browse files
Alanhansl
Alan
authored andcommitted
test: remove now duplicate test
1 parent 08c4cb7 commit 1fcb9a0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/schematics/angular/component/index_spec.ts

-9
Original file line numberDiff line numberDiff 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(/styleUrls: \['.\/foo.component.scss/);
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');

0 commit comments

Comments
 (0)