Skip to content

Commit 1d40a1c

Browse files
committed
Revert accidental formatting changes
1 parent f13eda3 commit 1d40a1c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/app/firebase-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class FirebaseApp implements App {
155155

156156
private name_: string;
157157
private options_: AppOptions;
158-
private services_: { [name: string]: unknown } = {};
158+
private services_: {[name: string]: unknown} = {};
159159
private isDeleted_ = false;
160160
private autoInit_ = false;
161161
private customCredential_ = true;

test/unit/app/firebase-app.spec.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,17 +269,13 @@ describe('FirebaseApp', () => {
269269
expect(app.options.storageBucket).to.be.undefined;
270270
});
271271

272-
it('DEDB 9 should not throw if initializeApp invoked with the same options', () => {
272+
it('should not throw if initializeApp invoked with the same options', () => {
273273
process.env[FIREBASE_CONFIG_VAR] = './test/resources/firebase_config.json';
274-
console.error('DEDB entering expect block');
275274
expect(() => {
276-
console.error('DEDB START');
277275
const app = firebaseNamespace.initializeApp(mocks.appOptionsWithoutCredential, mocks.appName);
278276
const app2 = firebaseNamespace.initializeApp(mocks.appOptionsWithoutCredential, mocks.appName);
279277
expect(app2).to.equal(app);
280-
console.error('DEDB DONE!');
281278
}).to.not.throw();
282-
console.error('DEDB Left expect block');
283279
});
284280

285281
it('should init with application default creds when no options provided and env variable is not set', () => {
@@ -337,7 +333,7 @@ describe('FirebaseApp', () => {
337333
it('should call removeApp() on the Firebase namespace internals', () => {
338334
const store = new AppStore();
339335
const stub = sinon.stub(store, 'removeApp').resolves();
340-
const app = new FirebaseApp(mockApp.options, mockApp.name, /*autoInit=*/false,store);
336+
const app = new FirebaseApp(mockApp.options, mockApp.name, /*autoInit=*/false, store);
341337
return app.delete().then(() => {
342338
expect(stub).to.have.been.calledOnce.and.calledWith(mocks.appName);
343339
});
@@ -513,7 +509,7 @@ describe('FirebaseApp', () => {
513509
expect(() => {
514510
app.database(url);
515511
}).to.throw('FIREBASE FATAL ERROR: Cannot parse Firebase url. ' +
516-
'Please use https://<YOUR FIREBASE>.firebaseio.com');
512+
'Please use https://<YOUR FIREBASE>.firebaseio.com');
517513
});
518514
});
519515
});

0 commit comments

Comments
 (0)