Skip to content
Snippets Groups Projects
Commit e7db12e2 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Add new component 'list-statistic'

parent beafeb5f
No related merge requests found
...@@ -22,6 +22,7 @@ import { HttpClient } from '@angular/common/http'; ...@@ -22,6 +22,7 @@ import { HttpClient } from '@angular/common/http';
import { TranslateHttpLoader } from '@ngx-translate/http-loader'; import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { ContentCreatorComponent } from './content-creator/content-creator.component'; import { ContentCreatorComponent } from './content-creator/content-creator.component';
import { ContentListComponent } from './content-list/content-list.component'; import { ContentListComponent } from './content-list/content-list.component';
import { ListStatisticComponent } from './list-statistic/list-statistic.component';
@NgModule({ @NgModule({
imports: [ imports: [
...@@ -52,7 +53,8 @@ import { ContentListComponent } from './content-list/content-list.component'; ...@@ -52,7 +53,8 @@ import { ContentListComponent } from './content-list/content-list.component';
RoomDeleteComponent, RoomDeleteComponent,
RoomEditComponent, RoomEditComponent,
ContentCreatorComponent, ContentCreatorComponent,
ContentListComponent ContentListComponent,
ListStatisticComponent
], ],
entryComponents: [ entryComponents: [
RoomCreateComponent, RoomCreateComponent,
......
<p>
list-statistic works!
</p>
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ListStatisticComponent } from './list-statistic.component';
describe('ListStatisticComponent', () => {
let component: ListStatisticComponent;
let fixture: ComponentFixture<ListStatisticComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ListStatisticComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ListStatisticComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-list-statistic',
templateUrl: './list-statistic.component.html',
styleUrls: ['./list-statistic.component.scss']
})
export class ListStatisticComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment