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 60f0c83 commit c127909Copy full SHA for c127909
packages/firestore/test/lite/integration.test.ts
@@ -286,7 +286,7 @@ describe('doc', () => {
286
it('validates path', () => {
287
return withTestDb(db => {
288
expect(() => doc(undefined as any, 'coll/doc')).to.throw(
289
- 'Function doc() cannot be called with an empty first argument.'
+ 'Function doc() cannot be called with an undefined first argument.'
290
);
291
expect(() => doc({} as any, 'coll/doc')).to.throw(
292
'Expected first argument to doc() to be a CollectionReference, a DocumentReference or FirebaseFirestore'
0 commit comments