diff --git a/src/data-structures/doubly-linked-list/__test__/DoublyLinkedListNode.test.js b/src/data-structures/doubly-linked-list/__test__/DoublyLinkedListNode.test.js index 0da8c8ce..f7f140d8 100644 --- a/src/data-structures/doubly-linked-list/__test__/DoublyLinkedListNode.test.js +++ b/src/data-structures/doubly-linked-list/__test__/DoublyLinkedListNode.test.js @@ -6,6 +6,7 @@ describe('DoublyLinkedListNode', () => { expect(node.value).toBe(1); expect(node.next).toBeNull(); + expect(node.previous).toBeNull(); }); it('should create list node with object as a value', () => {