Fixed tests

This commit is contained in:
ShahanaFarooqui 2023-10-04 13:51:00 -07:00
parent 95c0b7feeb
commit 5ed34f0aa5
2 changed files with 4 additions and 0 deletions

View File

@ -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 }

View File

@ -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 }