@@ -489,7 +489,10 @@ describe('core/auth/auth_impl useEmulator', () => {
489
489
sinon . restore ( ) ;
490
490
491
491
// The DOM persists through tests; remove the banner if it is attached
492
- const banner = typeof document !== 'undefined' ? document . querySelector ( '.firebase-emulator-warning' ) : null ;
492
+ const banner =
493
+ typeof document !== 'undefined'
494
+ ? document . querySelector ( '.firebase-emulator-warning' )
495
+ : null ;
493
496
if ( banner ) {
494
497
banner . parentElement ?. removeChild ( banner ) ;
495
498
}
@@ -532,8 +535,10 @@ describe('core/auth/auth_impl useEmulator', () => {
532
535
if ( typeof document !== 'undefined' ) {
533
536
const el = document . querySelector ( '.firebase-emulator-warning' ) ! ;
534
537
expect ( el ) . not . to . be . null ;
535
- expect ( el . textContent ) . to . eq ( 'Running in emulator mode. ' +
536
- 'Do not use with production credentials.' ) ;
538
+ expect ( el . textContent ) . to . eq (
539
+ 'Running in emulator mode. ' +
540
+ 'Do not use with production credentials.'
541
+ ) ;
537
542
}
538
543
} ) ;
539
544
@@ -542,8 +547,8 @@ describe('core/auth/auth_impl useEmulator', () => {
542
547
auth . useEmulator ( 'http://localhost:2020' ) ;
543
548
expect ( console . info ) . to . have . been . calledWith (
544
549
'WARNING: You are using the Auth Emulator,' +
545
- ' which is intended for local testing only. Do not use with' +
546
- ' production credentials.'
550
+ ' which is intended for local testing only. Do not use with' +
551
+ ' production credentials.'
547
552
) ;
548
553
} ) ;
549
554
@@ -552,8 +557,8 @@ describe('core/auth/auth_impl useEmulator', () => {
552
557
auth . useEmulator ( 'http://localhost:2020' , true ) ;
553
558
expect ( console . info ) . to . have . been . calledWith (
554
559
'WARNING: You are using the Auth Emulator,' +
555
- ' which is intended for local testing only. Do not use with' +
556
- ' production credentials.'
560
+ ' which is intended for local testing only. Do not use with' +
561
+ ' production credentials.'
557
562
) ;
558
563
if ( typeof document !== 'undefined' ) {
559
564
expect ( document . querySelector ( '.firebase-emulator-warning' ) ) . to . be . null ;
0 commit comments