@@ -1511,8 +1511,10 @@ apiDescribe('Queries', (persistence: boolean) => {
1511
1511
} ) ;
1512
1512
} ) ;
1513
1513
1514
+ // TODO(orquery) enable this test when the backend supports
1515
+ // one in per disjunction
1514
1516
// eslint-disable-next-line no-restricted-properties
1515
- it ( 'supports multiple in ops' , ( ) => {
1517
+ it . skip ( 'supports multiple in ops' , ( ) => {
1516
1518
const testDocs = {
1517
1519
doc1 : { a : 1 , b : 0 } ,
1518
1520
doc2 : { b : 1 } ,
@@ -1540,8 +1542,10 @@ apiDescribe('Queries', (persistence: boolean) => {
1540
1542
} ) ;
1541
1543
} ) ;
1542
1544
1545
+ // TODO(orquery) enable this test when the backend supports
1546
+ // one in or array-contains-any per disjunction
1543
1547
// eslint-disable-next-line no-restricted-properties
1544
- it ( 'supports using in with array contains any' , ( ) => {
1548
+ it . skip ( 'supports using in with array contains any' , ( ) => {
1545
1549
const testDocs = {
1546
1550
doc1 : { a : 1 , b : [ 0 ] } ,
1547
1551
doc2 : { b : [ 1 ] } ,
@@ -1566,17 +1570,6 @@ apiDescribe('Queries', (persistence: boolean) => {
1566
1570
'doc6'
1567
1571
) ;
1568
1572
1569
- await checkOnlineAndOfflineResultsMatch (
1570
- query (
1571
- coll ,
1572
- and (
1573
- where ( 'a' , 'in' , [ 2 , 3 ] ) ,
1574
- where ( 'b' , 'array-contains-any' , [ 0 , 7 ] )
1575
- )
1576
- ) ,
1577
- 'doc3'
1578
- ) ;
1579
-
1580
1573
await checkOnlineAndOfflineResultsMatch (
1581
1574
query (
1582
1575
coll ,
@@ -1589,18 +1582,6 @@ apiDescribe('Queries', (persistence: boolean) => {
1589
1582
'doc3' ,
1590
1583
'doc4'
1591
1584
) ;
1592
-
1593
- await checkOnlineAndOfflineResultsMatch (
1594
- query (
1595
- coll ,
1596
- and (
1597
- where ( 'a' , 'in' , [ 2 , 3 ] ) ,
1598
- or ( where ( 'b' , 'array-contains-any' , [ 0 , 7 ] ) , where ( 'c' , '==' , 20 ) )
1599
- )
1600
- ) ,
1601
- 'doc3' ,
1602
- 'doc6'
1603
- ) ;
1604
1585
} ) ;
1605
1586
} ) ;
1606
1587
0 commit comments