沈斌
2017-12-15 93b9d0c00b87079f97e56a63a2e38a7ea5bac4d3
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();
    });
});