Add test for empty strings

This commit is contained in:
gerijeb 2022-01-05 14:36:34 -03:00
parent 10044560cd
commit 208e02e31c
1 changed files with 3 additions and 0 deletions

View File

@ -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');
});
});