@@ -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