From 1dfc8bc300a6ae0822514ddf2e1399d4762fa1b1 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Thu, 12 Jul 2018 14:01:00 +0800 Subject: [PATCH] updates --- src/app/routes/dashboard/v1/v1.component.spec.ts | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/app/routes/dashboard/v1/v1.component.spec.ts b/src/app/routes/dashboard/v1/v1.component.spec.ts new file mode 100644 index 0000000..906dd4e --- /dev/null +++ b/src/app/routes/dashboard/v1/v1.component.spec.ts @@ -0,0 +1,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(); + }); +}); -- Gitblit v1.8.0