Skip to content

Commit 0c2c9cc

Browse files
committed
remove with testBD
1 parent a24093d commit 0c2c9cc

File tree

1 file changed

+2
-3
lines changed
  • packages/firestore/test/integration/util

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,9 @@ export function withEmptyTestCollection(
259259
persistence: boolean,
260260
fn: (collection: CollectionReference, db: Firestore) => Promise<void>
261261
): Promise<void> {
262-
return withTestDb(persistence, db => {
263-
return withTestCollection(persistence, {}, fn);
264-
});
262+
return withTestCollection(persistence, {}, fn);
265263
}
264+
266265
// TODO(mikelehen): Once we wipe the database between tests, we can probably
267266
// return the same collection every time.
268267
export function withTestCollectionSettings(

0 commit comments

Comments
 (0)