@@ -257,10 +257,8 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
257
257
let departmentsCollection : ReturnType < typeof createDepartmentsCollection >
258
258
259
259
beforeEach ( ( ) => {
260
- console . log ( `before each` )
261
260
employeesCollection = createEmployeesCollection ( autoIndex )
262
261
departmentsCollection = createDepartmentsCollection ( autoIndex )
263
- console . log ( `end of before each` )
264
262
} )
265
263
266
264
describe ( `Basic OrderBy` , ( ) => {
@@ -407,7 +405,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
407
405
} )
408
406
409
407
it ( `applies offset correctly with ordering` , async ( ) => {
410
- console . log ( `in applies offset correctly with ordering` )
411
408
const collection = createLiveQueryCollection ( ( q ) =>
412
409
q
413
410
. from ( { employees : employeesCollection } )
@@ -428,7 +425,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
428
425
} )
429
426
430
427
it ( `applies both limit and offset with ordering` , async ( ) => {
431
- console . log ( `in applies both limit and offset with ordering` )
432
428
const collection = createLiveQueryCollection ( ( q ) =>
433
429
q
434
430
. from ( { employees : employeesCollection } )
@@ -450,7 +446,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
450
446
} )
451
447
452
448
it ( `throws error when limit/offset used without orderBy` , ( ) => {
453
- console . log ( `in throws error when limit/offset used without orderBy` )
454
449
expect ( ( ) => {
455
450
createLiveQueryCollection ( ( q ) =>
456
451
q
@@ -467,9 +462,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
467
462
} )
468
463
469
464
it ( `applies incremental insert of a new row before the topK correctly` , async ( ) => {
470
- console . log (
471
- `in applies incremental insert of a new row before the topK correctly`
472
- )
473
465
const collection = createLiveQueryCollection ( ( q ) =>
474
466
q
475
467
. from ( { employees : employeesCollection } )
@@ -517,9 +509,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
517
509
} )
518
510
519
511
it ( `applies incremental insert of a new row inside the topK correctly` , async ( ) => {
520
- console . log (
521
- `in applies incremental insert of a new row inside the topK correctly`
522
- )
523
512
const collection = createLiveQueryCollection ( ( q ) =>
524
513
q
525
514
. from ( { employees : employeesCollection } )
@@ -564,13 +553,9 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
564
553
[ 6 , 62_000 ] ,
565
554
[ 2 , 60_000 ] ,
566
555
] )
567
- console . log ( `end` )
568
556
} )
569
557
570
558
it ( `applies incremental insert of a new row inside the topK but after max sent value correctly` , async ( ) => {
571
- console . log (
572
- `in applies incremental insert of a new row inside the topK but after max sent value correctly`
573
- )
574
559
const collection = createLiveQueryCollection ( ( q ) =>
575
560
q
576
561
. from ( { employees : employeesCollection } )
@@ -622,9 +607,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
622
607
} )
623
608
624
609
it ( `applies incremental insert of a new row after the topK correctly` , async ( ) => {
625
- console . log (
626
- `in applies incremental insert of a new row after the topK correctly`
627
- )
628
610
const collection = createLiveQueryCollection ( ( q ) =>
629
611
q
630
612
. from ( { employees : employeesCollection } )
@@ -668,9 +650,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
668
650
} )
669
651
670
652
it ( `applies incremental update of a row inside the topK correctly` , async ( ) => {
671
- console . log (
672
- `in applies incremental update of a row inside the topK correctly`
673
- )
674
653
const collection = createLiveQueryCollection ( ( q ) =>
675
654
q
676
655
. from ( { employees : employeesCollection } )
@@ -714,9 +693,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
714
693
} )
715
694
716
695
it ( `applies incremental delete of a row in the topK correctly` , async ( ) => {
717
- console . log (
718
- `in applies incremental delete of a row in the topK correctly`
719
- )
720
696
const collection = createLiveQueryCollection ( ( q ) =>
721
697
q
722
698
. from ( { employees : employeesCollection } )
@@ -1871,6 +1847,6 @@ function createOrderByTests(autoIndex: `off` | `eager`): void {
1871
1847
}
1872
1848
1873
1849
describe ( `Query2 OrderBy Compiler` , ( ) => {
1874
- // createOrderByTests(`off`)
1850
+ createOrderByTests ( `off` )
1875
1851
createOrderByTests ( `eager` )
1876
1852
} )
0 commit comments