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
Branches
Tags
No related merge requests found
...@@ -58,6 +58,7 @@ import { AuthenticationGuard } from './authentication.guard'; ...@@ -58,6 +58,7 @@ import { AuthenticationGuard } from './authentication.guard';
import { RoomService } from './room.service'; import { RoomService } from './room.service';
import { RoomListComponent } from './room-list/room-list.component'; import { RoomListComponent } from './room-list/room-list.component';
import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-screen.component'; import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-screen.component';
import { CreateCommentComponent } from './create-comment/create-comment.component';
@NgModule({ @NgModule({
declarations: [ declarations: [
...@@ -73,7 +74,8 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s ...@@ -73,7 +74,8 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
RegisterComponent, RegisterComponent,
RoomCreationComponent, RoomCreationComponent,
RoomListComponent, RoomListComponent,
CreatorHomeScreenComponent CreatorHomeScreenComponent,
CreateCommentComponent
], ],
entryComponents: [ entryComponents: [
RegisterComponent, RegisterComponent,
...@@ -83,9 +85,6 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s ...@@ -83,9 +85,6 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
AppRoutingModule, AppRoutingModule,
BrowserModule, BrowserModule,
BrowserAnimationsModule, BrowserAnimationsModule,
MatButtonModule,
MatInputModule,
BrowserAnimationsModule,
FlexLayoutModule, FlexLayoutModule,
FormsModule, FormsModule,
MatAutocompleteModule, 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