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