Skip to content

Commit 30962d2

Browse files
committed
remove any
1 parent 60f0c83 commit 30962d2

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
@@ -285,10 +285,10 @@ describe('doc', () => {
285285

286286
it('validates path', () => {
287287
return withTestDb(db => {
288-
expect(() => doc(undefined as any, 'coll/doc')).to.throw(
288+
expect(() => doc(undefined, 'coll/doc')).to.throw(
289289
'Function doc() cannot be called with an empty first argument.'
290290
);
291-
expect(() => doc({} as any, 'coll/doc')).to.throw(
291+
expect(() => doc({}, 'coll/doc')).to.throw(
292292
'Expected first argument to doc() to be a CollectionReference, a DocumentReference or FirebaseFirestore'
293293
);
294294
expect(() => doc(db, 'coll')).to.throw(

0 commit comments

Comments
 (0)