updated BinaryHeap.test.js (#1520)

there was a console.log, which is not necessary for test cases.
This commit is contained in:
maruf hasan
2023-10-13 20:10:29 +06:00
committed by GitHub
parent 410009157d
commit f77a970c78

View File

@ -36,7 +36,6 @@ describe('BinaryHeap', () => {
it('should handle insertion of duplicate values', () => {
// Check if the heap handles duplicate values correctly
minHeap.insert(2)
console.log(minHeap.heap)
expect(minHeap.heap).toEqual([1, 3, 2, 4, 8, 6, 2])
})