diff options
Diffstat (limited to 'src/app/shared/services/paramShare.service.spec.ts')
-rw-r--r-- | src/app/shared/services/paramShare.service.spec.ts | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/app/shared/services/paramShare.service.spec.ts b/src/app/shared/services/paramShare.service.spec.ts index de3983a..1769198 100644 --- a/src/app/shared/services/paramShare.service.spec.ts +++ b/src/app/shared/services/paramShare.service.spec.ts @@ -23,7 +23,7 @@ limitations under the License. import { inject, TestBed } from '@angular/core/testing'; import { ParamShareService } from './paramShare.service'; -describe('ParamShareService', () => { +fdescribe('ParamShareService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [ParamShareService] @@ -65,13 +65,11 @@ describe('ParamShareService', () => { })); it('should set and return proper sharedData value', inject([ParamShareService], (service: ParamShareService) => { - service.setData([ - { displayName: 'A-IP', displayValue: '234' }, - { displayName: 'B-IP', displayValue: '10.168.15.15' }]); + service.setData( + { displayName: 'A-IP', displayValue: '234' }); let sharedData = service.getData(); - expect(sharedData).toEqual([ - { displayName: 'A-IP', displayValue: '234' }, - { displayName: 'B-IP', displayValue: '10.168.15.15' }]); + expect(sharedData).toEqual( + { displayName: 'A-IP', displayValue: '234' }); })); it('should set templateData value', inject([ParamShareService], (service: ParamShareService) => { |