Commit 4dbd8991 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[#164] events-panel ut now passing!

parent 7a31a106
import { HttpClient, HttpHandler } from '@angular/common/http'
import { async, ComponentFixture, TestBed } from '@angular/core/testing'
import { ActivatedRoute, Router } from '@angular/router'
import { MessageService } from 'primeng/api'
import { EventsService, ServicesService, UsersService } from '../backend'
import { EventsPanelComponent } from './events-panel.component'
......@@ -8,6 +12,14 @@ describe('EventsPanelComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
providers: [EventsService, HttpClient, HttpHandler, UsersService, ServicesService, MessageService,
{
provide: Router,
useValue: {}
}, {
provide: ActivatedRoute,
useValue: {}
}],
declarations: [EventsPanelComponent],
}).compileComponents()
}))
......
Markdown is supported
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