File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages-exp/auth-compat-exp/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ describe('auth compat', () => {
65
65
providerStub . getImmediate . returns ( underlyingAuth ) ;
66
66
const authCompat = new Auth (
67
67
app ,
68
- ( providerStub as unknown ) as Provider < 'auth-exp' >
68
+ providerStub as unknown as Provider < 'auth-exp' >
69
69
) ;
70
70
// eslint-disable-next-line @typescript-eslint/no-floating-promises
71
71
await authCompat . signInWithRedirect ( new exp . GoogleAuthProvider ( ) ) ;
@@ -83,7 +83,7 @@ describe('auth compat', () => {
83
83
) ;
84
84
providerStub . isInitialized . returns ( false ) ;
85
85
providerStub . initialize . returns ( underlyingAuth ) ;
86
- new Auth ( app , ( providerStub as unknown ) as Provider < 'auth-exp' > ) ;
86
+ new Auth ( app , providerStub as unknown as Provider < 'auth-exp' > ) ;
87
87
// eslint-disable-next-line @typescript-eslint/no-floating-promises
88
88
expect ( providerStub . initialize ) . to . have . been . calledWith ( {
89
89
options : {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class Auth
68
68
for ( const persistence of [
69
69
exp . indexedDBLocalPersistence ,
70
70
exp . browserLocalPersistence ,
71
- exp . browserSessionPersistence ,
71
+ exp . browserSessionPersistence
72
72
] ) {
73
73
if ( ! persistences . includes ( persistence ) ) {
74
74
persistences . push ( persistence ) ;
You can’t perform that action at this time.
0 commit comments