Skip to content

Commit f77a970

Browse files
authored
updated BinaryHeap.test.js (#1520)
there was a console.log, which is not necessary for test cases.
1 parent 4100091 commit f77a970

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Data-Structures/Heap/test/BinaryHeap.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ describe('BinaryHeap', () => {
3636
it('should handle insertion of duplicate values', () => {
3737
// Check if the heap handles duplicate values correctly
3838
minHeap.insert(2)
39-
console.log(minHeap.heap)
4039
expect(minHeap.heap).toEqual([1, 3, 2, 4, 8, 6, 2])
4140
})
4241

0 commit comments

Comments
 (0)