From 208e02e31cb6ca87f689e8d091faf96190e8c3e4 Mon Sep 17 00:00:00 2001 From: gerijeb Date: Wed, 5 Jan 2022 14:36:34 -0300 Subject: [PATCH] Add test for empty strings --- 05_sumAll/sumAll.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/05_sumAll/sumAll.spec.js b/05_sumAll/sumAll.spec.js index 1a9fb7c..684c277 100644 --- a/05_sumAll/sumAll.spec.js +++ b/05_sumAll/sumAll.spec.js @@ -19,4 +19,7 @@ describe('sumAll', () => { test.skip('returns ERROR with non-number parameters', () => { expect(sumAll(10, [90, 1])).toEqual('ERROR'); }); + test.skip('returns ERROR with empty strings', () => { + expect(sumAll('', 2)).toEqual('ERROR'); + }); });