File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
packages/firestore/test/integration Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ import {
65
65
withTestCollection ,
66
66
withTestDb
67
67
} from '../util/helpers' ;
68
- import { captureExistenceFilterMismatches } from '../util/testing_hooks_util' ;
69
68
import { USE_EMULATOR , TARGET_BACKEND } from '../util/settings' ;
69
+ import { captureExistenceFilterMismatches } from '../util/testing_hooks_util' ;
70
70
71
71
apiDescribe ( 'Queries' , ( persistence : boolean ) => {
72
72
addEqualityMatcher ( ) ;
Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ export async function captureExistenceFilterMismatches(
28
28
callback : ( ) => Promise < void >
29
29
) : Promise < ExistenceFilterMismatchInfo [ ] > {
30
30
const results : ExistenceFilterMismatchInfo [ ] = [ ] ;
31
- const callbackWrapper = ( arg : unknown ) =>
32
- results . push (
33
- existenceFilterMismatchInfoFromRaw ( arg as RawExistenceFilterMismatchInfo )
31
+ const callbackWrapper = ( arg : unknown ) : void => {
32
+ const existenceFilterMismatchInfo = existenceFilterMismatchInfoFromRaw (
33
+ arg as RawExistenceFilterMismatchInfo
34
34
) ;
35
+ results . push ( existenceFilterMismatchInfo ) ;
36
+ } ;
35
37
36
38
const unregister =
37
39
TestingHooks . getOrCreateInstance ( ) . onExistenceFilterMismatch (
You can’t perform that action at this time.
0 commit comments