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