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