mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
updated BinaryHeap.test.js (#1520)
there was a console.log, which is not necessary for test cases.
This commit is contained in:
@ -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])
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user