From f19e6d83d9d14c91043ec562dacb38d3222a7551 Mon Sep 17 00:00:00 2001 From: Mike Hartington Date: Tue, 26 Feb 2019 11:04:11 -0500 Subject: [PATCH] fix(schematics): update component spec (#88) --- .../__name@dasherize__.component.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/schematics/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts b/schematics/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts index 4b40b77..b74195f 100644 --- a/schematics/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts +++ b/schematics/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts @@ -1,22 +1,22 @@ import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; -import { <%= classify(name) %>Page } from './<%= dasherize(name) %>.page'; +import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component'; -describe('<%= classify(name) %>Page', () => { - let component: <%= classify(name) %>Page; - let fixture: ComponentFixture<<%= classify(name) %>Page>; +describe('<%= classify(name) %>Component', () => { + let component: <%= classify(name) %>Component; + let fixture: ComponentFixture<<%= classify(name) %>Component>; beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ <%= classify(name) %>Page ], + declarations: [ <%= classify(name) %>Component ], schemas: [CUSTOM_ELEMENTS_SCHEMA], }) .compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(<%= classify(name) %>Page); + fixture = TestBed.createComponent(<%= classify(name) %>Component); component = fixture.componentInstance; fixture.detectChanges(); });