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