Skip to content

Commit

Permalink
sloppy test
Browse files Browse the repository at this point in the history
  • Loading branch information
davideast committed Aug 26, 2023
1 parent 0b0ec07 commit 0006bfb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions database/list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ function buildView(current: QueryChange[], change: QueryChange): QueryChange[] {
const currentKeyPosition = positionFor(current, key);
const afterPreviousKeyPosition = positionAfter(current, prevKey || undefined);

if (change.snapshot.ref.parent!.key === 'empty-test') {
console.log(change.event);
console.log(change.snapshot.val());
console.log('-------------------------------');
}

switch (event) {
case ListenEvent.value:
if (change.snapshot && change.snapshot.exists()) {
Expand Down

0 comments on commit 0006bfb

Please sign in to comment.