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 754860f commit 34bee55Copy full SHA for 34bee55
packages/collection/__tests__/collection.test.ts
@@ -705,12 +705,12 @@ describe('reduce() tests', () => {
705
706
test('reduce collection into a single value with initial value', () => {
707
const sum = coll.reduce((a, x) => a + x, 0);
708
- expect<number>(sum).toStrictEqual(6);
+ expect(sum).toStrictEqual(6);
709
});
710
711
test('reduce collection into a single value without initial value', () => {
712
const sum = coll.reduce((a, x) => a + x);
713
714
715
716
test('reduce empty collection with initial value', () => {
0 commit comments