Skip to content

Commit 6a5ed26

Browse files
committed
Extend DoublyLinkedListNode tests.
1 parent a9eeea2 commit 6a5ed26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/data-structures/doubly-linked-list/__test__/DoublyLinkedListNode.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ describe('DoublyLinkedListNode', () => {
66

77
expect(node.value).toBe(1);
88
expect(node.next).toBeNull();
9+
expect(node.previous).toBeNull();
910
});
1011

1112
it('should create list node with object as a value', () => {

0 commit comments

Comments
 (0)