mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-23 12:54:04 +00:00
[trie] console.log removed from test of trie
This commit is contained in:
parent
57c4511e69
commit
dc2394ae4d
|
@ -28,7 +28,6 @@ describe('Heap Operation Test', () => {
|
|||
minHeap.add({key: 0, a: 'a0'});
|
||||
|
||||
expect(minHeap.peek()).toEqual({a: 'a0', key: 0});
|
||||
console.log('---', minHeap.toArray());
|
||||
expect(minHeap.toArray().map(item => ({a: item.a}))).toEqual([{a: 'a0'}, {a: 'a1'}, {a: 'a2'}, {a: 'a6'}]);
|
||||
let i = 0;
|
||||
const expectPolled = [{a: 'a0'}, {a: 'a1'}, {a: 'a2'}, {a: 'a6'}];
|
||||
|
|
Loading…
Reference in a new issue