Skip to content

Commit 53207d2

Browse files
authored
Merge pull request #3 from Ouadie/fix-tests
Fixing the first test set for BFS
2 parents 5461efc + 7d5baf9 commit 53207d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/graph-traversal.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ describe('Breadth First Search', () => {
198198
});
199199

200200
it('should return the traversal path from the starting point all the way to the end', () => {
201-
expect(BFS(A)).to.deep.equal(["A","B","C","D","F"]);
201+
expect(BFS(A)).to.deep.equal(["A","B","C","D", "E", "F"]);
202202
expect(BFS(B)).to.deep.equal(["B","D","E"]);
203203
expect(BFS(C)).to.deep.equal(["C","F"]);
204204
expect(BFS(D)).to.deep.equal(["D"]);

0 commit comments

Comments
 (0)