From 909f2d4678bdbf502ee1a30afd5794a2e838d556 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 16 Jul 2020 16:06:48 +0100 Subject: [PATCH] Fix numbering on hours in radioSelect test --- tests/javascripts/radioSelect.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/javascripts/radioSelect.test.js b/tests/javascripts/radioSelect.test.js index d8227e865..9360486c1 100644 --- a/tests/javascripts/radioSelect.test.js +++ b/tests/javascripts/radioSelect.test.js @@ -68,11 +68,12 @@ describe('RadioSelect', () => { hours.forEach((hour, idx) => { const hourLabel = getHourLabel(hour); + const num = idx + 1; result += `
- -
`;