沈斌
2018-03-13 fb0d052122fdc9f0ad83e55778d0f988bd9d2b82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { TestBed, TestModuleMetadata } from '@angular/core/testing';
import { setUpTestBed } from '../../../../testing/common.spec';
 
import { DashboardV1Component } from './v1.component';
 
describe('Comoponent: DashboardV1', () => {
    setUpTestBed(<TestModuleMetadata>{
        declarations: [ DashboardV1Component ]
    });
 
    it('should create an instance', () => {
        const fixture = TestBed.createComponent(DashboardV1Component);
        const comp = fixture.debugElement.componentInstance;
        expect(comp).toBeTruthy();
    });
});