Skip to content

Commit 1c4e028

Browse files
authored
fix: LinkedList test (trekhleb#712)
1 parent d581548 commit 1c4e028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data-structures/linked-list/__test__/LinkedList.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ describe('LinkedList', () => {
230230
expect(node).toBeDefined();
231231
expect(node.value.value).toBe(2);
232232
expect(node.value.customValue).toBe('test2');
233-
expect(linkedList.find({ value: 2, customValue: 'test5' })).toBeNull();
233+
expect(linkedList.find({ value: { value: 2, customValue: 'test5' } })).toBeNull();
234234
});
235235

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy