From 06239e726d495c7561084e9290ef0bee4a0cd1f2 Mon Sep 17 00:00:00 2001 From: alberto Date: Thu, 3 Dec 2026 13:58:25 -0600 Subject: [PATCH] Box figure spec reading carries its strata --- src/app/indicadores/tea-indicators.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/indicadores/tea-indicators.spec.ts b/src/app/indicadores/tea-indicators.spec.ts index 1455707..be53565 100644 --- a/src/app/indicadores/tea-indicators.spec.ts +++ b/src/app/indicadores/tea-indicators.spec.ts @@ -400,7 +400,7 @@ describe('TEA clinical figures', () => { }); it('annotates only the median and the quartiles on the box', () => { - const figure = boxFigure({ populations: {}, score: 12.5, low: 8, high: 20 }, '2025-S1'); + const figure = boxFigure({ populations: {}, strata: {}, score: 12.5, low: 8, high: 20 }, '2025-S1'); expect(figure.layout?.annotations?.map((a) => a.text)).toEqual([ 'Q3 20', 'Mediana 12.5',