Skip to content

Commit 95a2621

Browse files
calvinturbopubkey
authored andcommitted
fixed doc import
1 parent 2ac701d commit 95a2621

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/replication-firestore.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ import {
4444
getDoc,
4545
QueryConstraint,
4646
addDoc,
47-
updateDoc,
48-
doc
47+
updateDoc
4948
} from 'firebase/firestore';
5049
import {
5150
FirestoreOptions,
@@ -516,7 +515,7 @@ describe('replication-firestore.test.ts', function () {
516515
assert.strictEqual(allLocalDocs.length, 3);
517516

518517
/** update document to fall out of replication scope **/
519-
await updateDoc(doc(firestoreState.collection, firstDocRef.id), {
518+
await updateDoc(DocRef(firestoreState.collection, firstDocRef.id), {
520519
firstName: 'not-replicated'
521520
});
522521

0 commit comments

Comments
 (0)