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