Skip to content
Snippets Groups Projects
Commit 44a90fd0 authored by Hagen Dreßler's avatar Hagen Dreßler Committed by David Noah Donges
Browse files

Add component Comment

parent c7eaf4e2
No related merge requests found
......@@ -8,6 +8,7 @@ import { JoinRoomComponent } from './join-room/join-room.component';
import { LoginComponent } from './login/login.component';
import { RegisterComponent } from './register/register.component';
import { PasswordResetComponent } from './password-reset/password-reset.component';
import { CommentComponent } from './comment/comment.component';
import { AppRoutingModule } from './app-routing.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
......@@ -75,7 +76,8 @@ import { CreateCommentComponent } from './create-comment/create-comment.componen
RoomCreationComponent,
RoomListComponent,
CreatorHomeScreenComponent,
CreateCommentComponent
CreateCommentComponent,
CommentComponent
],
entryComponents: [
RegisterComponent,
......
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CommentComponent } from './comment.component';
describe('CommentComponent', () => {
let component: CommentComponent;
let fixture: ComponentFixture<CommentComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ CommentComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CommentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comment',
templateUrl: './comment.component.html',
styleUrls: ['./comment.component.scss']
})
export class CommentComponent 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