From a23c8c715d11bee8bec1e94dc030d28700609738 Mon Sep 17 00:00:00 2001 From: Quentin Gogay Date: Tue, 18 Jun 2024 15:02:45 +0100 Subject: [PATCH] SFD-89 break unit test --- src/app/carbon-estimation/carbon-estimation.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/carbon-estimation/carbon-estimation.component.spec.ts b/src/app/carbon-estimation/carbon-estimation.component.spec.ts index 793168e7..43caa18d 100644 --- a/src/app/carbon-estimation/carbon-estimation.component.spec.ts +++ b/src/app/carbon-estimation/carbon-estimation.component.spec.ts @@ -52,7 +52,7 @@ describe('CarbonEstimationComponent', () => { component.ngOnInit(); fixture.detectChanges(); - expect(component.chartOptions.chart.height).toBe(600 - estimatorBaseHeight - 200); + expect(component.chartOptions.chart.height).toBe(600 - estimatorBaseHeight - 2); }); it('should set chart height to value if inner height more than base height plus extra height', () => {