Skip to content

Commit e78dff5

Browse files
committed
Update composite_index_test_helper.ts
1 parent ed3f5cf commit e78dff5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,9 @@ export class CompositeIndexTestHelper {
112112
}
113113

114114
// Remove test-specific fields from a document, including the testId and expiration date.
115-
private removeTestSpecificFieldsFromDoc(doc: DocumentData): DocumentData {
115+
private removeTestSpecificFieldsFromDoc(doc: DocumentData): void {
116116
doc._document?.data?.delete(field(this.TTL_FIELD));
117117
doc._document?.data?.delete(field(this.TEST_ID_FIELD));
118-
return doc;
119118
}
120119

121120
// Helper method to hash document keys and add test-specific fields for the provided documents.

0 commit comments

Comments
 (0)