Skip to content

Commit 29eaa8a

Browse files
committed
Commenting change
1 parent 8fde7d6 commit 29eaa8a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

packages/auth/src/core/auth/auth_impl.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -308,16 +308,16 @@ describe('core/auth/auth_impl', () => {
308308
expect(persistenceStub._remove).to.have.been.called;
309309
expect(auth.currentUser).to.be.null;
310310
});
311-
it('sets currentUser to null, calls remove', async () => {
312-
const token: FirebaseToken = {
313-
token: 'test-token',
314-
expirationTime: 123456789
315-
};
316-
await auth._updateFirebaseToken(token);
317-
await auth.signOut();
318-
expect(persistenceStub._remove).to.have.been.called;
319-
expect(auth.firebaseToken).to.be.null;
320-
});
311+
// it('sets currentUser to null, calls remove', async () => {
312+
// const token: FirebaseToken = {
313+
// token: 'test-token',
314+
// expirationTime: 123456789
315+
// };
316+
// await auth._updateFirebaseToken(token);
317+
// await auth.signOut();
318+
// expect(persistenceStub._remove).to.have.been.called;
319+
// expect(auth.firebaseToken).to.be.null;
320+
// });
321321
it('is blocked if a beforeAuthStateChanged callback throws', async () => {
322322
await auth._updateCurrentUser(testUser(auth, 'test'));
323323
auth.beforeAuthStateChanged(sinon.stub().throws());

packages/auth/src/core/auth/auth_impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
491491
}
492492

493493
// Clear Firebase token for Regional Auth Instance when signOut is called
494-
await this._updateFirebaseToken(null);
494+
// await this._updateFirebaseToken(null);
495495
// Prevent callbacks from being called again in _updateCurrentUser, as
496496
// they were already called in the first line.
497497
return this._updateCurrentUser(null, /* skipBeforeStateCallbacks */ true);

0 commit comments

Comments
 (0)