diff --git a/src/app/components/shared/shared.module.ts b/src/app/components/shared/shared.module.ts index 738ea138de816fea2ea7cd3bbfdec5147a16f132..d2522ea76cb079519da4b9d2e2c15630fd2f2c01 100644 --- a/src/app/components/shared/shared.module.ts +++ b/src/app/components/shared/shared.module.ts @@ -20,6 +20,7 @@ import { EssentialsModule } from '../essentials/essentials.module'; import { SharedRoutingModule } from './shared-routing.module'; import { ListStatisticComponent } from './list-statistic/list-statistic.component'; import { ChartsModule } from 'ng2-charts'; +import { StatisticComponent } from './statistic/statistic.component'; @NgModule({ imports: [ @@ -46,7 +47,8 @@ import { ChartsModule } from 'ng2-charts'; CommentCreatePageComponent, CommentListComponent, StatisticsPageComponent, - ListStatisticComponent + ListStatisticComponent, + StatisticComponent ], exports: [ RoomJoinComponent, diff --git a/src/app/components/shared/statistic/statistic.component.html b/src/app/components/shared/statistic/statistic.component.html new file mode 100644 index 0000000000000000000000000000000000000000..2708ff4b359ae46e1aaf2426a708049b641a574b --- /dev/null +++ b/src/app/components/shared/statistic/statistic.component.html @@ -0,0 +1,3 @@ +<p> + statistic works! +</p> diff --git a/src/app/components/shared/statistic/statistic.component.scss b/src/app/components/shared/statistic/statistic.component.scss new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/app/components/shared/statistic/statistic.component.spec.ts b/src/app/components/shared/statistic/statistic.component.spec.ts new file mode 100644 index 0000000000000000000000000000000000000000..401237a714b9a17bea8a910285566510e0b87a7c --- /dev/null +++ b/src/app/components/shared/statistic/statistic.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { StatisticComponent } from './statistic.component'; + +describe('StatisticComponent', () => { + let component: StatisticComponent; + let fixture: ComponentFixture<StatisticComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ StatisticComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(StatisticComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/shared/statistic/statistic.component.ts b/src/app/components/shared/statistic/statistic.component.ts new file mode 100644 index 0000000000000000000000000000000000000000..fa0ca7e5f8ca48274198654ee7ce2926013aeffd --- /dev/null +++ b/src/app/components/shared/statistic/statistic.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-statistic', + templateUrl: './statistic.component.html', + styleUrls: ['./statistic.component.scss'] +}) +export class StatisticComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}