Skip to content

Commit

Permalink
fix(package): fixed minor issue in the avatar template
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Oct 9, 2019
1 parent 08308e8 commit e00d402
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button mat-fab
[style.background-image]="'url(' + user?.photoURL + ')'"
style="background-size: cover">
<span *ngIf="user?.photoURL">{{{displayNameInitials}}</span>
<span *ngIf="user?.photoURL">{{displayNameInitials}}</span>
</button>
<div fxLayout="column" style="padding-left: 10px; padding-right: 10px">
<strong mat-card-title>{{user?.displayName}}</strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit e00d402

Please sign in to comment.