File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/firestore/test/integration/api Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1618,7 +1618,7 @@ apiDescribe('Queries', (persistence: boolean) => {
16181618
16191619 // eslint-disable-next-line no-restricted-properties
16201620 ( persistence ? it . skip : it ) (
1621- 'can raise expected snapshot when resume query after deleting docs ' ,
1621+ 'resuming a query should remove deleted documents indicated by existence filter ' ,
16221622 ( ) => {
16231623 const testDocs = { } ;
16241624 for ( let i = 1 ; i <= 100 ; i ++ ) {
@@ -1633,11 +1633,9 @@ apiDescribe('Queries', (persistence: boolean) => {
16331633 txn . delete ( doc ( coll , 'doc' + i ) ) ;
16341634 }
16351635 } ) ;
1636- // Wait 10 seconds, during which the watch will stop tracking the query
1636+ // Wait 10 seconds, during which Watch will stop tracking the query
16371637 // and will send an existence filter rather than "delete" events.
1638- await ( function ( ) {
1639- return new Promise ( resolve => setTimeout ( resolve , 10000 ) ) ;
1640- } ) ( ) ;
1638+ await new Promise ( resolve => setTimeout ( resolve , 10000 ) ) ;
16411639 const snapshot2 = await getDocs ( coll ) ;
16421640 expect ( snapshot2 . size ) . to . equal ( 50 ) ;
16431641 } ) ;
You can’t perform that action at this time.
0 commit comments