Typo Fix in BFS test

This commit is contained in:
= 2020-10-17 19:54:34 +05:30
parent 477f30b0bd
commit 677146717d

View File

@ -2,7 +2,7 @@ import BinaryTreeNode from '../../../../data-structures/tree/BinaryTreeNode';
import breadthFirstSearch from '../breadthFirstSearch'; import breadthFirstSearch from '../breadthFirstSearch';
describe('breadthFirstSearch', () => { describe('breadthFirstSearch', () => {
it('should perform DFS operation on tree', () => { it('should perform BFS operation on tree', () => {
const nodeA = new BinaryTreeNode('A'); const nodeA = new BinaryTreeNode('A');
const nodeB = new BinaryTreeNode('B'); const nodeB = new BinaryTreeNode('B');
const nodeC = new BinaryTreeNode('C'); const nodeC = new BinaryTreeNode('C');