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 73a0f10 commit e326ec4Copy full SHA for e326ec4
15_totalIntegers/solution/totalIntegers-solution.spec.js
@@ -11,7 +11,7 @@ describe('totalIntegers', () => {
11
expect(totalIntegers([5, 7, -7, [45, -1, -0], [4, 7, -4, -4, -4, [777777, -45674]], [-5477654]])).toBe(14);
12
});
13
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);
+ expect(totalIntegers([5, 7.7, 7, [45, 1, 0], [4.0, 7, [7.77777, 4567.4]], [5477.654]])).toBe(7);
15
16
test('Only accepts arrays', () => {
17
expect(totalIntegers('2')).toBe(undefined);
0 commit comments