Skip to content

Commit a3144be

Browse files
committed
Updated test description in sum.test.js
1 parent e7602ab commit a3144be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-1/implement/sum.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const sum = require("./sum.js");
3434
// When passed to the sum function
3535
// Then it should return the least surprising value given how it behaves for all other inputs
3636

37-
test(`Should return the correct sum of values`, () => {
37+
test(`Should return the correct sum of the numerical elements of an array`, () => {
3838
expect(sum(["apple", "banana", 1, 10])).toEqual(11);
3939
expect(sum([1, -1, -100])).toEqual(-100);
4040
expect(sum([-10, -20, -3, -4])).toEqual(-37);

0 commit comments

Comments
 (0)