mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 01:40:29 +01:00
Fixed tests
This commit is contained in:
parent
95c0b7feeb
commit
5ed34f0aa5
@ -1,4 +1,5 @@
|
||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
@ -14,6 +15,7 @@ describe('ECLNodeInfoComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ECLNodeInfoComponent],
|
||||
providers: [
|
||||
DatePipe,
|
||||
CommonService,
|
||||
{ provide: LoggerService, useClass: mockLoggerService },
|
||||
{ provide: DataService, useClass: mockDataService }
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
@ -15,6 +16,7 @@ describe('NodeInfoComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [NodeInfoComponent],
|
||||
providers: [
|
||||
DatePipe,
|
||||
CommonService,
|
||||
{ provide: LoggerService, useClass: mockLoggerService },
|
||||
{ provide: DataService, useClass: mockDataService }
|
||||
|
Loading…
Reference in New Issue
Block a user