Skip to content

Commit 01b3bf0

Browse files
committed
fix lint errors
1 parent 50418ef commit 01b3bf0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/firestore/test/integration/api/query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ import {
6565
withTestCollection,
6666
withTestDb
6767
} from '../util/helpers';
68-
import { captureExistenceFilterMismatches } from '../util/testing_hooks_util';
6968
import { USE_EMULATOR, TARGET_BACKEND } from '../util/settings';
69+
import { captureExistenceFilterMismatches } from '../util/testing_hooks_util';
7070

7171
apiDescribe('Queries', (persistence: boolean) => {
7272
addEqualityMatcher();

packages/firestore/test/integration/util/testing_hooks_util.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ export async function captureExistenceFilterMismatches(
2828
callback: () => Promise<void>
2929
): Promise<ExistenceFilterMismatchInfo[]> {
3030
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
3434
);
35+
results.push(existenceFilterMismatchInfo);
36+
};
3537

3638
const unregister =
3739
TestingHooks.getOrCreateInstance().onExistenceFilterMismatch(

0 commit comments

Comments
 (0)