From 87b1018c65048f90db2ab50a486aa4c392bb1c8b Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 22 May 2023 08:57:04 -0400 Subject: [PATCH] fix: remove extra parentheses with spec test (#490) resolves #489 --- .../__name@dasherize__.page.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/page/files/__name@dasherize@if-flat__/__name@dasherize__.page.spec.ts b/packages/schematics/page/files/__name@dasherize@if-flat__/__name@dasherize__.page.spec.ts index ca625f5..bee7102 100644 --- a/packages/schematics/page/files/__name@dasherize@if-flat__/__name@dasherize__.page.spec.ts +++ b/packages/schematics/page/files/__name@dasherize@if-flat__/__name@dasherize__.page.spec.ts @@ -5,11 +5,11 @@ describe('<%= classify(name) %>Page', () => { let component: <%= classify(name) %>Page; let fixture: ComponentFixture<<%= classify(name) %>Page>; - beforeEach(async(() => { + beforeEach(async () => { fixture = TestBed.createComponent(<%= classify(name) %>Page); component = fixture.componentInstance; fixture.detectChanges(); - })); + }); it('should create', () => { expect(component).toBeTruthy();