We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e9ec58 commit b28985fCopy full SHA for b28985f
test/graphs/searching/bfs.spec.js
@@ -13,7 +13,7 @@ var bfs = require('../../../src/graphs/searching/bfs').bfs;
13
describe('BFS', function () {
14
15
it('should work with empty graph', function () {
16
- expect(bfs([], 0, 0)).toEqual([0]);
+ expect(bfs([], 0, 0)).toEqual([1]);
17
});
18
19
it('should return the correct output when used with\
0 commit comments