Skip to content

Commit f9d4b3e

Browse files
author
Brian Chen
committed
fix addDoc test
1 parent 706c060 commit f9d4b3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/test/lite/integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,8 +1576,8 @@ describe('withConverter() support', () => {
15761576

15771577
describe('methods', () => {
15781578
it('addDoc()', () => {
1579-
return withTestDoc(async doc => {
1580-
const ref = doc.withConverter(testConverter);
1579+
return withTestDb(async db => {
1580+
const ref = collection(db, 'testobj').withConverter(testConverter);
15811581

15821582
// Requires all fields to be present
15831583
// @ts-expect-error

0 commit comments

Comments
 (0)