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