Skip to content

Commit f19e6d8

Browse files
mhartingtonimhoffd
authored andcommitted
fix(schematics): update component spec (#88)
1 parent d598282 commit f19e6d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

schematics/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
22
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
33

4-
import { <%= classify(name) %>Page } from './<%= dasherize(name) %>.page';
4+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
55

6-
describe('<%= classify(name) %>Page', () => {
7-
let component: <%= classify(name) %>Page;
8-
let fixture: ComponentFixture<<%= classify(name) %>Page>;
6+
describe('<%= classify(name) %>Component', () => {
7+
let component: <%= classify(name) %>Component;
8+
let fixture: ComponentFixture<<%= classify(name) %>Component>;
99

1010
beforeEach(async(() => {
1111
TestBed.configureTestingModule({
12-
declarations: [ <%= classify(name) %>Page ],
12+
declarations: [ <%= classify(name) %>Component ],
1313
schemas: [CUSTOM_ELEMENTS_SCHEMA],
1414
})
1515
.compileComponents();
1616
}));
1717

1818
beforeEach(() => {
19-
fixture = TestBed.createComponent(<%= classify(name) %>Page);
19+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
2020
component = fixture.componentInstance;
2121
fixture.detectChanges();
2222
});

0 commit comments

Comments
 (0)