10000
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 8561fcb commit 02880deCopy full SHA for 02880de
__tests__/regression.ts
@@ -0,0 +1,9 @@
1
+import { describe, expect, it } from '@jest/globals';
2
+import { List } from 'immutable';
3
+
4
+describe('undefined groupBy', () => {
5
+ it('should not throw an error when groupBy is called with undefined', () => {
6
+ const list = List([1, 2, 3]);
7
+ expect(() => list.groupBy(() => undefined)).not.toThrow();
8
+ });
9
+});
0 commit comments