Merge pull request #304 from jamhog/new-sumAll-test-solution
05_sumAll: Add new test - update solutions
This commit is contained in:
commit
04ced679a3
|
@ -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