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