From 5ce3d6acf735a93fe2e0b8599de27b2441305852 Mon Sep 17 00:00:00 2001
From: Mahir Mahdi <66949598+Mahir1015@users.noreply.github.com>
Date: Wed, 10 Aug 2022 21:40:24 +0600
Subject: [PATCH] Updated sumAll.spec.js

---
 05_sumAll/sumAll.spec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/05_sumAll/sumAll.spec.js b/05_sumAll/sumAll.spec.js
index 1a9fb7c..ff32e50 100644
--- a/05_sumAll/sumAll.spec.js
+++ b/05_sumAll/sumAll.spec.js
@@ -10,8 +10,8 @@ describe('sumAll', () => {
   test.skip('works with larger number first', () => {
     expect(sumAll(123, 1)).toEqual(7626);
   });
-  test.skip('returns ERROR with negative numbers', () => {
-    expect(sumAll(-10, 4)).toEqual('ERROR');
+  test.skip('works with negative numbers', () => {
+    expect(sumAll(-10, 4)).toEqual(-45);
   });
   test.skip('returns ERROR with non-number parameters', () => {
     expect(sumAll(10, "90")).toEqual('ERROR');