Linked List Jest unit test error: TypeError: Cannot read property 'next' of null

前端 未结 0 575
天涯浪人
天涯浪人 2021-01-02 00:53

While testing a JS linked list class i have this weird error: i can delete the node at index but when i test to verify the next node is null as it\'s supposed to be if delet

相关标签:
回答
  • 消灭零回复
提交回复
热议问题