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 d581548 commit 1c4e028Copy full SHA for 1c4e028
src/data-structures/linked-list/__test__/LinkedList.test.js
@@ -230,7 +230,7 @@ describe('LinkedList', () => {
230
expect(node).toBeDefined();
231
expect(node.value.value).toBe(2);
232
expect(node.value.customValue).toBe('test2');
233
- expect(linkedList.find({ value: 2, customValue: 'test5' })).toBeNull();
+ expect(linkedList.find({ value: { value: 2, customValue: 'test5' } })).toBeNull();
234
});
235
236
it('should find preferring callback over compare function', () => {
0 commit comments