We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5e81c commit 92a6b5aCopy full SHA for 92a6b5a
src/_DataStructures_/LinkedList/LinkedList.test.js
@@ -18,7 +18,7 @@ describe('Data Structures: Linked Lists', () => {
18
expect(typeof LinkedList.prototype.constructor).toEqual('function');
19
});
20
21
- it('Should set the data and next field of a node', () => {
+ it('Should set the head, tail and size of a LinkedList', () => {
22
const list = new LinkedList();
23
expect(list.head).not.toEqual(undefined);
24
expect(list.head).toEqual(null);
0 commit comments