Skip to content

Commit ee1420a

Browse files
committed
Formatting
1 parent 3e6927a commit ee1420a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages-exp/auth-compat-exp/src/auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('auth compat', () => {
6565
providerStub.getImmediate.returns(underlyingAuth);
6666
const authCompat = new Auth(
6767
app,
68-
(providerStub as unknown) as Provider<'auth-exp'>
68+
providerStub as unknown as Provider<'auth-exp'>
6969
);
7070
// eslint-disable-next-line @typescript-eslint/no-floating-promises
7171
await authCompat.signInWithRedirect(new exp.GoogleAuthProvider());
@@ -83,7 +83,7 @@ describe('auth compat', () => {
8383
);
8484
providerStub.isInitialized.returns(false);
8585
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'>);
8787
// eslint-disable-next-line @typescript-eslint/no-floating-promises
8888
expect(providerStub.initialize).to.have.been.calledWith({
8989
options: {

packages-exp/auth-compat-exp/src/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class Auth
6868
for (const persistence of [
6969
exp.indexedDBLocalPersistence,
7070
exp.browserLocalPersistence,
71-
exp.browserSessionPersistence,
71+
exp.browserSessionPersistence
7272
]) {
7373
if (!persistences.includes(persistence)) {
7474
persistences.push(persistence);

0 commit comments

Comments
 (0)