Add sumAll test
This commit is contained in:
parent
db998d7279
commit
0f57a2afcd
|
@ -13,6 +13,9 @@ describe('sumAll', () => {
|
|||
test.skip('returns ERROR with negative numbers', () => {
|
||||
expect(sumAll(-10, 4)).toEqual('ERROR');
|
||||
});
|
||||
test.skip('returns ERROR with non-integer parameters', () => {
|
||||
expect(sumAll(2.5, 4)).toEqual('ERROR');
|
||||
});
|
||||
test.skip('returns ERROR with non-number parameters', () => {
|
||||
expect(sumAll(10, "90")).toEqual('ERROR');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue