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.
2 parents 30962d2 + c127909 commit 6e0db18Copy full SHA for 6e0db18
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, '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({}, 'coll/doc')).to.throw(
292
'Expected first argument to doc() to be a CollectionReference, a DocumentReference or FirebaseFirestore'
0 commit comments