import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MarkdownComponent, MarkdownService, MarkedOptions } from 'ngx-markdown'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { ContributingToCardinalComponent } from './contributing-to-cardinal.page'; describe('ContributingToCardinalComponent', () => { let component: ContributingToCardinalComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ ContributingToCardinalComponent, MarkdownComponent, ], providers: [MarkdownService, MarkedOptions], schemas: [CUSTOM_ELEMENTS_SCHEMA], }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(ContributingToCardinalComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });