16
16
*/
17
17
import { expect , use } from 'chai' ;
18
18
import { AppCheckService } from './service' ;
19
- import { firebase , FirebaseApp } from '@firebase/app-compat' ;
19
+ import firebase , { FirebaseApp } from '@firebase/app-compat' ;
20
20
import * as appCheckExp from '@firebase/app-check' ;
21
21
import { stub , match , SinonStub } from 'sinon' ;
22
22
import * as sinonChai from 'sinon-chai' ;
@@ -65,7 +65,7 @@ describe('Firebase App Check > Service', () => {
65
65
66
66
it (
67
67
'activate("string") calls modular initializeAppCheck() with a ' +
68
- 'ReCaptchaV3Provider' ,
68
+ 'ReCaptchaV3Provider' ,
69
69
( ) => {
70
70
const initializeAppCheckStub = stub ( appCheckExp , 'initializeAppCheck' ) ;
71
71
service = new AppCheckService ( app ) ;
@@ -80,7 +80,7 @@ describe('Firebase App Check > Service', () => {
80
80
81
81
it (
82
82
'activate(CustomProvider) calls modular initializeAppCheck() with' +
83
- ' a CustomProvider' ,
83
+ ' a CustomProvider' ,
84
84
( ) => {
85
85
const initializeAppCheckStub = stub ( appCheckExp , 'initializeAppCheck' ) ;
86
86
service = new AppCheckService ( app ) ;
@@ -167,7 +167,7 @@ describe('Firebase App Check > Service', () => {
167
167
168
168
it ( 'onTokenChanged() throws if activate() has not been called' , async ( ) => {
169
169
service = createTestService ( app ) ;
170
- expect ( ( ) => service . onTokenChanged ( ( ) => { } ) ) . to . throw (
170
+ expect ( ( ) => service . onTokenChanged ( ( ) => { } ) ) . to . throw (
171
171
AppCheckError . USE_BEFORE_ACTIVATION
172
172
) ;
173
173
} ) ;
0 commit comments