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

Add component create-comment

parent a348e401
No related merge requests found
......@@ -58,6 +58,7 @@ import { AuthenticationGuard } from './authentication.guard';
import { RoomService } from './room.service';
import { RoomListComponent } from './room-list/room-list.component';
import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-screen.component';
import { CreateCommentComponent } from './create-comment/create-comment.component';
@NgModule({
declarations: [
......@@ -73,7 +74,8 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
RegisterComponent,
RoomCreationComponent,
RoomListComponent,
CreatorHomeScreenComponent
CreatorHomeScreenComponent,
CreateCommentComponent
],
entryComponents: [
RegisterComponent,
......@@ -83,9 +85,6 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
AppRoutingModule,
BrowserModule,
BrowserAnimationsModule,
MatButtonModule,
MatInputModule,
BrowserAnimationsModule,
FlexLayoutModule,
FormsModule,
MatAutocompleteModule,
......
<p>
create-comment works!
</p>
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CreateCommentComponent } from './create-comment.component';
describe('CreateCommentComponent', () => {
let component: CreateCommentComponent;
let fixture: ComponentFixture<CreateCommentComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ CreateCommentComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CreateCommentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-create-comment',
templateUrl: './create-comment.component.html',
styleUrls: ['./create-comment.component.scss']
})
export class CreateCommentComponent 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