diff --git a/src/_DataStructures_/LinkedList/LinkedList.test.js b/src/_DataStructures_/LinkedList/LinkedList.test.js index 85157be..3dfc467 100644 --- a/src/_DataStructures_/LinkedList/LinkedList.test.js +++ b/src/_DataStructures_/LinkedList/LinkedList.test.js @@ -18,7 +18,7 @@ describe('Data Structures: Linked Lists', () => { expect(typeof LinkedList.prototype.constructor).toEqual('function'); }); - it('Should set the data and next field of a node', () => { + it('Should set the head, tail and size of a LinkedList', () => { const list = new LinkedList(); expect(list.head).not.toEqual(undefined); expect(list.head).toEqual(null);