1616 */
1717import { expect , use } from 'chai' ;
1818import { AppCheckService } from './service' ;
19- import { firebase , FirebaseApp } from '@firebase/app-compat' ;
19+ import firebase , { FirebaseApp } from '@firebase/app-compat' ;
2020import * as appCheckExp from '@firebase/app-check' ;
2121import { stub , match , SinonStub } from 'sinon' ;
2222import * as sinonChai from 'sinon-chai' ;
@@ -65,7 +65,7 @@ describe('Firebase App Check > Service', () => {
6565
6666 it (
6767 'activate("string") calls modular initializeAppCheck() with a ' +
68- 'ReCaptchaV3Provider' ,
68+ 'ReCaptchaV3Provider' ,
6969 ( ) => {
7070 const initializeAppCheckStub = stub ( appCheckExp , 'initializeAppCheck' ) ;
7171 service = new AppCheckService ( app ) ;
@@ -80,7 +80,7 @@ describe('Firebase App Check > Service', () => {
8080
8181 it (
8282 'activate(CustomProvider) calls modular initializeAppCheck() with' +
83- ' a CustomProvider' ,
83+ ' a CustomProvider' ,
8484 ( ) => {
8585 const initializeAppCheckStub = stub ( appCheckExp , 'initializeAppCheck' ) ;
8686 service = new AppCheckService ( app ) ;
@@ -167,7 +167,7 @@ describe('Firebase App Check > Service', () => {
167167
168168 it ( 'onTokenChanged() throws if activate() has not been called' , async ( ) => {
169169 service = createTestService ( app ) ;
170- expect ( ( ) => service . onTokenChanged ( ( ) => { } ) ) . to . throw (
170+ expect ( ( ) => service . onTokenChanged ( ( ) => { } ) ) . to . throw (
171171 AppCheckError . USE_BEFORE_ACTIVATION
172172 ) ;
173173 } ) ;
0 commit comments