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