From b92866af313d3591782bf6f58107d548b371b4e6 Mon Sep 17 00:00:00 2001 From: RedViperPT <40699748+RedViperPT@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:55:05 +0000 Subject: [PATCH] Update the tests for the solutions --- 05_sumAll/solution/sumAll-solution.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05_sumAll/solution/sumAll-solution.spec.js b/05_sumAll/solution/sumAll-solution.spec.js index c78ae4e..3afdf4e 100644 --- a/05_sumAll/solution/sumAll-solution.spec.js +++ b/05_sumAll/solution/sumAll-solution.spec.js @@ -2,7 +2,7 @@ const sumAll = require('./sumAll-solution'); describe('sumAll', () => { test('sums numbers within the range', () => { - expect(sumAll(1, 4)).toEqual(10); + expect(sumAll(2, 4)).toEqual(9); }); test('works with large numbers', () => { expect(sumAll(1, 4000)).toEqual(8002000);