import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AvatarComponent } from './avatar.component'; describe('AvatarComponent', () => { let component: AvatarComponent; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [AvatarComponent], }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(AvatarComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });