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

Rename component comment-creator to comment

parent 4609bcf5
No related merge requests found
......@@ -8,7 +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 { CommentCreatorComponent } from './comment-creator/comment-creator.component';
import { CommentComponent } from './comment/comment.component';
import { AppRoutingModule } from './app-routing.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
......@@ -77,7 +77,7 @@ import { CreateCommentComponent } from './create-comment/create-comment.componen
RoomListComponent,
CreatorHomeScreenComponent,
CreateCommentComponent,
CommentCreatorComponent
CommentComponent
],
entryComponents: [
RegisterComponent,
......
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CommentCreatorComponent } from './comment-creator.component';
import { CommentComponent } from './comment.component';
describe('CommentCreatorComponent', () => {
let component: CommentCreatorComponent;
let fixture: ComponentFixture<CommentCreatorComponent>;
describe('CommentComponent', () => {
let component: CommentComponent;
let fixture: ComponentFixture<CommentComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ CommentCreatorComponent ]
declarations: [ CommentComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CommentCreatorComponent);
fixture = TestBed.createComponent(CommentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
......
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comment-creator',
templateUrl: './comment-creator.component.html',
styleUrls: ['./comment-creator.component.scss']
selector: 'app-comment',
templateUrl: './comment.component.html',
styleUrls: ['./comment.component.scss']
})
export class CommentCreatorComponent implements OnInit {
export class CommentComponent implements OnInit {
constructor() { }
......
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