import{TestBed}from'@angular/core/testing';import{RouterTestingModule}from'@angular/router/testing';import{AppComponent}from'./app.component';describe('AppComponent',()=>{beforeEach(async()=>{awaitTestBed.configureTestingModule({imports:[RouterTestingModule,],declarations:[AppComponent,],}).compileComponents();});it('should create the app',()=>{constfixture=TestBed.createComponent(AppComponent);constapp=fixture.componentInstance;expect(app).toBeTruthy();});});