Fix typo in tree BFS testcase name (#542)

This commit is contained in:
Brian Tomlin 2020-12-09 01:11:03 -06:00 committed by GitHub
parent 2ec7fe2f02
commit ebd6ffd2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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