From 03169663748672138f93037b89708d65952249d8 Mon Sep 17 00:00:00 2001 From: edgar Date: Wed, 2 Dec 2026 19:43:55 -0600 Subject: [PATCH] =?UTF-8?q?Ajustar=20la=20prueba=20de=20las=20escalas=20al?= =?UTF-8?q?=20t=C3=ADtulo=20sin=20versi=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/paciente/risk-scales.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/paciente/risk-scales.spec.ts b/src/app/paciente/risk-scales.spec.ts index 7c87a7a..6c113f6 100644 --- a/src/app/paciente/risk-scales.spec.ts +++ b/src/app/paciente/risk-scales.spec.ts @@ -35,7 +35,7 @@ describe('the risk scales', () => { { text: 'Recurrencia v2', index: '2026-03-01', predictions: [at(5, 0.98)] }, { text: 'Otro', index: '2026-03-02', predictions: [at(3, 0.3)] }, // no horizon of its own ]); - expect(groups.map((g) => g.title)).toEqual(['Supervivencia v3', 'Recurrencia v2', 'Otro']); + expect(groups.map((g) => g.title)).toEqual(['Supervivencia', 'Recurrencia', 'Otro']); expect(groups.map((g) => g.index)).toEqual(['2026-02-01', '2026-03-01', '2026-03-02']); const labels = ['Riesgo inmediato (al índice)', 'Riesgo a 5 años']; for (const g of groups) expect(g.scales.map((s) => s.label)).toEqual(labels);