Skip to content
Snippets Groups Projects
Commit 28642f80 authored by Thomas Lenz's avatar Thomas Lenz
Browse files

Add room-deletion component

parent b4f1a39d
Branches
Tags
No related merge requests found
......@@ -72,6 +72,7 @@ import { ContentListComponent } from './content-list/content-list.component';
import { ContentService } from './content.service';
import { ContentAnswersListComponent } from './content-answers-list/content-answers-list.component';
import { ContentAnswerService } from './content-answer.service';
import { RoomDeletionComponent } from './room-deletion/room-deletion.component';
@NgModule({
declarations: [
......@@ -97,7 +98,8 @@ import { ContentAnswerService } from './content-answer.service';
CreatorRoomComponent,
ContentDetailComponent,
ContentListComponent,
ContentAnswersListComponent
ContentAnswersListComponent,
RoomDeletionComponent
],
entryComponents: [
RegisterComponent,
......
<p>
room-deletion works!
</p>
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RoomDeletionComponent } from './room-deletion.component';
describe('RoomDeletionComponent', () => {
let component: RoomDeletionComponent;
let fixture: ComponentFixture<RoomDeletionComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ RoomDeletionComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RoomDeletionComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-room-deletion',
templateUrl: './room-deletion.component.html',
styleUrls: ['./room-deletion.component.scss']
})
export class RoomDeletionComponent 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