Skip to content

Commit 81a61b4

Browse files
committed
add // eslint-disable-next-line @typescript-eslint/no-explicit-any lines to make lint happy
1 parent 7427858 commit 81a61b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/firestore/test/unit/api/database.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ describe('Settings', () => {
363363
// Use a new instance of Firestore in order to configure settings.
364364
const db = newTestFirestore();
365365
db._setSettings({
366+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
366367
experimentalAutoDetectLongPolling: 1 as any
367368
});
368369
expect(db._getSettings().experimentalAutoDetectLongPolling).to.be.true;
@@ -372,6 +373,7 @@ describe('Settings', () => {
372373
// Use a new instance of Firestore in order to configure settings.
373374
const db = newTestFirestore();
374375
db._setSettings({
376+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
375377
experimentalAutoDetectLongPolling: 0 as any
376378
});
377379
expect(db._getSettings().experimentalAutoDetectLongPolling).to.be.false;
@@ -381,6 +383,7 @@ describe('Settings', () => {
381383
// Use a new instance of Firestore in order to configure settings.
382384
const db = newTestFirestore();
383385
db._setSettings({
386+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
384387
experimentalForceLongPolling: 'I am truthy' as any
385388
});
386389
expect(db._getSettings().experimentalForceLongPolling).to.be.true;
@@ -390,6 +393,7 @@ describe('Settings', () => {
390393
// Use a new instance of Firestore in order to configure settings.
391394
const db = newTestFirestore();
392395
db._setSettings({
396+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
393397
experimentalForceLongPolling: NaN as any
394398
});
395399
expect(db._getSettings().experimentalForceLongPolling).to.be.false;

0 commit comments

Comments
 (0)