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