Skip to content

Commit 5d6cf7c

Browse files
committed
database.test.ts: move an inline comment to be above the appropriate line
1 parent 3ee6db2 commit 5d6cf7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,9 +1865,9 @@ apiDescribe('Database', persistence => {
18651865
};
18661866
const testDocs = { doc1: { value: 42 } };
18671867
return withTestCollection(persistence, testDocs, async collectionRef => {
1868+
const query_ = query(collectionRef, where('value', '==', 42));
18681869
// The line below should compile since the DbModelType type parameter of
18691870
// Query.withConverter() has a default value.
1870-
const query_ = query(collectionRef, where('value', '==', 42));
18711871
const typedQuery = query_.withConverter<number>(converter);
18721872
const snapshot = await getDocs(typedQuery);
18731873
expect(snapshot.size).to.equal(1);

0 commit comments

Comments
 (0)