diff --git a/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.html b/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.html index 0d612004..d401d40a 100755 --- a/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.html +++ b/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.html @@ -13,7 +13,7 @@
{{user?.displayName}} diff --git a/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.spec.ts b/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.spec.ts index 2caefc50..b4cbb23c 100755 --- a/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.spec.ts +++ b/src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.spec.ts @@ -37,15 +37,13 @@ describe('NgxAuthFirebaseuiAvatarComponent', () => { {provide: MatDialogRef, useValue: {}} ] }) - .compileComponents(); + .compileComponents().then(() => { + fixture = TestBed.createComponent(NgxAuthFirebaseuiAvatarComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); })); - beforeEach(() => { - fixture = TestBed.createComponent(NgxAuthFirebaseuiAvatarComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - it('should create', () => { expect(component).toBeTruthy(); });