We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7602ab commit a3144beCopy full SHA for a3144be
Sprint-1/implement/sum.test.js
@@ -34,7 +34,7 @@ const sum = require("./sum.js");
34
// When passed to the sum function
35
// Then it should return the least surprising value given how it behaves for all other inputs
36
37
-test(`Should return the correct sum of values`, () => {
+test(`Should return the correct sum of the numerical elements of an array`, () => {
38
expect(sum(["apple", "banana", 1, 10])).toEqual(11);
39
expect(sum([1, -1, -100])).toEqual(-100);
40
expect(sum([-10, -20, -3, -4])).toEqual(-37);
0 commit comments