Skip to content

Commit 11a6004

Browse files
committed
Really fix linting
1 parent 7449c01 commit 11a6004

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

packages/firestore/src/lite-api/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { Datastore, newDatastore } from '../remote/datastore';
2828
import { Code, FirestoreError } from '../util/error';
2929
import { logDebug } from '../util/log';
3030

31-
import { FirestoreSettingsImpl, PrivateSettings } from './settings';
31+
import { FirestoreSettingsImpl } from './settings';
3232

3333
export const LOG_TAG = 'ComponentProvider';
3434

packages/firestore/test/unit/remote/fetch_connection.test.ts

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,22 @@
1515
* limitations under the License.
1616
*/
1717

18-
import * as sinon from 'sinon';
1918
import { expect, use } from 'chai';
19+
import chaiAsPromised from 'chai-as-promised';
20+
import * as sinon from 'sinon';
21+
import sinonChai from 'sinon-chai';
22+
2023
import { DatabaseId } from '../../../src/core/database_info';
2124
import { makeDatabaseInfo } from '../../../src/lite-api/components';
22-
import {
23-
FirestoreSettingsImpl,
24-
PrivateSettings
25-
} from '../../../src/lite-api/settings';
25+
import { FirestoreSettingsImpl } from '../../../src/lite-api/settings';
2626
import { ResourcePath } from '../../../src/model/path';
2727
import { FetchConnection } from '../../../src/platform/browser_lite/fetch_connection';
28-
import sinonChai from 'sinon-chai';
29-
import chaiAsPromised from 'chai-as-promised';
3028

3129
use(sinonChai);
3230
use(chaiAsPromised);
3331

3432
describe('Fetch Connection', () => {
3533
it('should pass in credentials if using emulator and cloud workstation', async () => {
36-
const privateSettings: PrivateSettings = {
37-
emulatorOptions: {},
38-
host: 'abc.cloudworkstations.dev'
39-
};
40-
console.log(
41-
makeDatabaseInfo(
42-
DatabaseId.empty(),
43-
'',
44-
'',
45-
new FirestoreSettingsImpl(privateSettings)
46-
)
47-
);
4834
const stub = sinon.stub(globalThis, 'fetch');
4935
stub.resolves({
5036
ok: true,

packages/storage/test/unit/service.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {
3535
import { Location } from '../../src/implementation/location';
3636
import { newTestConnection, TestingConnection } from './connection';
3737
import { injectTestConnection } from '../../src/platform/connection';
38-
import { newTextConnection } from '../../src/platform/node/connection';
3938
import sinonChai from 'sinon-chai';
4039

4140
const fakeAppGs = testShared.makeFakeApp('gs://mybucket');

0 commit comments

Comments
 (0)