angular-cn/angular.io/src/app/doc-viewer/doc-viewer.component.spec.ts

29 lines
784 B
TypeScript
Raw Normal View History

/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { DocViewerComponent } from './doc-viewer.component';
describe('DocViewerComponent', () => {
let component: DocViewerComponent;
let fixture: ComponentFixture<DocViewerComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ DocViewerComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DocViewerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});