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