We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24093d commit 0c2c9ccCopy full SHA for 0c2c9cc
packages/firestore/test/integration/util/helpers.ts
@@ -259,10 +259,9 @@ export function withEmptyTestCollection(
259
persistence: boolean,
260
fn: (collection: CollectionReference, db: Firestore) => Promise<void>
261
): Promise<void> {
262
- return withTestDb(persistence, db => {
263
- return withTestCollection(persistence, {}, fn);
264
- });
+ return withTestCollection(persistence, {}, fn);
265
}
+
266
// TODO(mikelehen): Once we wipe the database between tests, we can probably
267
// return the same collection every time.
268
export function withTestCollectionSettings(
0 commit comments