import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MarkdownComponent } from 'ngx-markdown'; import { HeroComponent, UsageWarningsComponent, SwatchComponent } from '@components'; import { MockComponent } from 'ng-mocks'; import { ZDepthUsagePageComponent } from './z-depth-usage.page'; describe('ZDepthUsage.PageComponent', () => { let component: ZDepthUsagePageComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ ZDepthUsagePageComponent, MockComponent(HeroComponent), MarkdownComponent, UsageWarningsComponent, MockComponent(SwatchComponent), ], }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(ZDepthUsagePageComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('creates the component', () => { expect(component).toBeTruthy(); }); });