Skip to content

Commit

Permalink
fix(template): fix page component test
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo authored and mhartington committed Jul 6, 2023
1 parent ba5499e commit a2a4b80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { <%= classify(name) %>Page } from './<%= dasherize(name) %>.page';

describe('<%= classify(name) %>Page', () => {
let component: <%= classify(name) %>Page;
let fixture: ComponentFixture<<%= classify(name) %>Page>;

beforeEach(async () => {
beforeEach(waitForAsync () => {
fixture = TestBed.createComponent(<%= classify(name) %>Page);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down

0 comments on commit a2a4b80

Please sign in to comment.