mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 01:18:23 +08:00
chore: format code (#1515)
* chore: format code * Updated Documentation in README.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -36,7 +36,7 @@ describe('BinaryHeap', () => {
|
||||
it('should handle insertion of duplicate values', () => {
|
||||
// Check if the heap handles duplicate values correctly
|
||||
minHeap.insert(2)
|
||||
console.log(minHeap.heap);
|
||||
console.log(minHeap.heap)
|
||||
expect(minHeap.heap).toEqual([1, 3, 2, 4, 8, 6, 2])
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user