Skip to content

Commit 83f05ba

Browse files
sam-gcavolkovi
authored andcommitted
[AUTOMATED]: Prettier Code Styling
1 parent c4e3007 commit 83f05ba

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

+9-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ import { browserLocalPersistence } from '../persistence/browser';
3030
import { inMemoryPersistence } from '../persistence/in_memory';
3131
import { PersistenceUserManager } from '../persistence/persistence_user_manager';
3232
import { ClientPlatform, getClientVersion } from '../util/version';
33-
import { DEFAULT_API_HOST, DEFAULT_API_SCHEME, initializeAuth } from './auth_impl';
33+
import {
34+
DEFAULT_API_HOST,
35+
DEFAULT_API_SCHEME,
36+
initializeAuth
37+
} from './auth_impl';
3438

3539
use(sinonChai);
3640

@@ -193,24 +197,24 @@ describe('AuthImpl', () => {
193197
await auth.updateCurrentUser(null);
194198
expect(authStateCallback).to.have.been.calledWith(null);
195199
});
196-
200+
197201
it('onIdTokenChange triggers on log out', async () => {
198202
await auth.updateCurrentUser(null);
199203
expect(idTokenCallback).to.have.been.calledWith(null);
200204
});
201-
205+
202206
it('onAuthStateChange does not trigger for user props change', async () => {
203207
user.refreshToken = 'hey look I changed';
204208
await auth.updateCurrentUser(user);
205209
expect(authStateCallback).not.to.have.been.called;
206210
});
207-
211+
208212
it('onIdTokenChange triggers for user props change', async () => {
209213
user.refreshToken = 'hey look I changed';
210214
await auth.updateCurrentUser(user);
211215
expect(idTokenCallback).to.have.been.calledWith(user);
212216
});
213-
217+
214218
it('onAuthStateChange triggers if uid changes', async () => {
215219
const newUser = testUser('different-uid');
216220
await auth.updateCurrentUser(newUser);

0 commit comments

Comments
 (0)