Skip to content

Commit e1e681d

Browse files
committed
Missed a persistence
1 parent c6c254e commit e1e681d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import { isNode } from '@firebase/util';
3232

3333
import { expect } from 'chai';
3434
import {
35-
browserSessionPersistence,
3635
inMemoryPersistence
3736
} from '../../../internal';
3837

@@ -222,13 +221,13 @@ describe('core/auth/initialize', () => {
222221
it('should not throw if called again with same params', () => {
223222
const auth = initializeAuth(fakeApp, {
224223
errorMap: prodErrorMap,
225-
persistence: browserSessionPersistence,
224+
persistence: fakeSessionPersistence,
226225
popupRedirectResolver: fakePopupRedirectResolver
227226
});
228227
expect(
229228
initializeAuth(fakeApp, {
230229
errorMap: prodErrorMap,
231-
persistence: browserSessionPersistence,
230+
persistence: fakeSessionPersistence,
232231
popupRedirectResolver: fakePopupRedirectResolver
233232
})
234233
).to.equal(auth);

0 commit comments

Comments
 (0)