diff --git a/src/app/carbon-estimation/carbon-estimation.component.spec.ts b/src/app/carbon-estimation/carbon-estimation.component.spec.ts index c9961bb2..280cd422 100644 --- a/src/app/carbon-estimation/carbon-estimation.component.spec.ts +++ b/src/app/carbon-estimation/carbon-estimation.component.spec.ts @@ -119,17 +119,6 @@ describe('CarbonEstimationComponent', () => { expect(component.onResize).toHaveBeenCalledTimes(1); }); - it('chart updateOptions should be not be called if inner height less than base height and extra height', () => { - spyOn(component.chart as ChartComponent, 'updateOptions'); - - fixture.componentRef.setInput('extraHeight', '600'); - fixture.detectChanges(); - component.ngOnInit(); - fixture.detectChanges(); - - expect(component.chart?.updateOptions).not.toHaveBeenCalled(); - }); - it('should set emissions with total % and category breakdown', () => { const expectedEmissions = [ {