Skip to content

Commit 34bee55

Browse files
committed
test: remove explicit expect() types for consistency
1 parent 754860f commit 34bee55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/collection/__tests__/collection.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,12 @@ describe('reduce() tests', () => {
705705

706706
test('reduce collection into a single value with initial value', () => {
707707
const sum = coll.reduce((a, x) => a + x, 0);
708-
expect<number>(sum).toStrictEqual(6);
708+
expect(sum).toStrictEqual(6);
709709
});
710710

711711
test('reduce collection into a single value without initial value', () => {
712712
const sum = coll.reduce((a, x) => a + x);
713-
expect<number>(sum).toStrictEqual(6);
713+
expect(sum).toStrictEqual(6);
714714
});
715715

716716
test('reduce empty collection with initial value', () => {

0 commit comments

Comments
 (0)