mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-02-18 20:53:52 +01:00
Fixed tests
This commit is contained in:
parent
95c0b7feeb
commit
5ed34f0aa5
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue