Skip to content

Commit e326ec4

Browse files
committed
feat/ fix test not working
1 parent 73a0f10 commit e326ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15_totalIntegers/solution/totalIntegers-solution.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('totalIntegers', () => {
1111
expect(totalIntegers([5, 7, -7, [45, -1, -0], [4, 7, -4, -4, -4, [777777, -45674]], [-5477654]])).toBe(14);
1212
});
1313
test('Works with floats', () => {
14-
expect(totalIntegers([5, 7.7, 7, [45, 1, 0], [4.0, 7, [7.77777, 4567.4]], [5477.654]])).toBe(11);
14+
expect(totalIntegers([5, 7.7, 7, [45, 1, 0], [4.0, 7, [7.77777, 4567.4]], [5477.654]])).toBe(7);
1515
});
1616
test('Only accepts arrays', () => {
1717
expect(totalIntegers('2')).toBe(undefined);

0 commit comments

Comments
 (0)