Commit 64ace76b authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[#164] results of rake prettier_ui

parent d5d0729c
...@@ -22,7 +22,15 @@ describe('AppComponent', () => { ...@@ -22,7 +22,15 @@ describe('AppComponent', () => {
ToastModule, ToastModule,
], ],
declarations: [AppComponent], declarations: [AppComponent],
providers: [GeneralService, HttpClient, HttpHandler, UsersService, MessageService, ServicesService, SettingsService], providers: [
GeneralService,
HttpClient,
HttpHandler,
UsersService,
MessageService,
ServicesService,
SettingsService,
],
}).compileComponents() }).compileComponents()
})) }))
......
...@@ -10,13 +10,15 @@ describe('EventsPageComponent', () => { ...@@ -10,13 +10,15 @@ describe('EventsPageComponent', () => {
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [ EventsService, { providers: [
provide: ActivatedRoute, EventsService,
useValue: { {
snapshot: { queryParams: {} }, provide: ActivatedRoute,
useValue: {
snapshot: { queryParams: {} },
},
}, },
} ],
],
declarations: [EventsPageComponent], declarations: [EventsPageComponent],
}).compileComponents() }).compileComponents()
})) }))
......
...@@ -12,14 +12,22 @@ describe('EventsPanelComponent', () => { ...@@ -12,14 +12,22 @@ describe('EventsPanelComponent', () => {
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [EventsService, HttpClient, HttpHandler, UsersService, ServicesService, MessageService, providers: [
{ EventsService,
provide: Router, HttpClient,
useValue: {} HttpHandler,
}, { UsersService,
provide: ActivatedRoute, ServicesService,
useValue: {} MessageService,
}], {
provide: Router,
useValue: {},
},
{
provide: ActivatedRoute,
useValue: {},
},
],
declarations: [EventsPanelComponent], declarations: [EventsPanelComponent],
}).compileComponents() }).compileComponents()
})) }))
......
...@@ -11,11 +11,13 @@ describe('LogViewPageComponent', () => { ...@@ -11,11 +11,13 @@ describe('LogViewPageComponent', () => {
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [ providers: [
ServicesService, HttpClient, HttpHandler, ServicesService,
HttpClient,
HttpHandler,
{ {
provide: ActivatedRoute, provide: ActivatedRoute,
useValue: {}, useValue: {},
} },
], ],
declarations: [LogViewPageComponent], declarations: [LogViewPageComponent],
}).compileComponents() }).compileComponents()
......
...@@ -10,11 +10,17 @@ describe('ServerDataService', () => { ...@@ -10,11 +10,17 @@ describe('ServerDataService', () => {
beforeEach(() => { beforeEach(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [HttpClient, HttpHandler, UsersService, MessageService, ServicesService, providers: [
HttpClient,
HttpHandler,
UsersService,
MessageService,
ServicesService,
{ {
provide: Router, provide: Router,
useValue: {} useValue: {},
}] },
],
}) })
service = TestBed.inject(ServerDataService) service = TestBed.inject(ServerDataService)
}) })
......
...@@ -9,11 +9,17 @@ import { MessageService } from 'primeng/api' ...@@ -9,11 +9,17 @@ import { MessageService } from 'primeng/api'
describe('SettingService', () => { describe('SettingService', () => {
beforeEach(() => beforeEach(() =>
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [SettingsService, UsersService, MessageService, HttpClient, HttpHandler, providers: [
SettingsService,
UsersService,
MessageService,
HttpClient,
HttpHandler,
{ {
provide: Router, provide: Router,
useValue: {} useValue: {},
}], },
],
}) })
) )
......
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