Skip to content

Commit

Permalink
fix: LinkedList test (trekhleb#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomyfan authored Jan 27, 2022
1 parent d581548 commit 1c4e028
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ describe('LinkedList', () => {
expect(node).toBeDefined();
expect(node.value.value).toBe(2);
expect(node.value.customValue).toBe('test2');
expect(linkedList.find({ value: 2, customValue: 'test5' })).toBeNull();
expect(linkedList.find({ value: { value: 2, customValue: 'test5' } })).toBeNull();
});

it('should find preferring callback over compare function', () => {
Expand Down

0 comments on commit 1c4e028

Please sign in to comment.