From 8df3470f87a585d4e7d166cdb0063cef7692b29e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 21 Jul 2023 13:11:36 -0500 Subject: [PATCH] Fix auth test --- app/soapbox/reducers/__tests__/auth.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/reducers/__tests__/auth.test.ts b/app/soapbox/reducers/__tests__/auth.test.ts index 9f5726f77..d461b3ddd 100644 --- a/app/soapbox/reducers/__tests__/auth.test.ts +++ b/app/soapbox/reducers/__tests__/auth.test.ts @@ -1,4 +1,4 @@ -import { Map as ImmutableMap, fromJS } from 'immutable'; +import { Map as ImmutableMap } from 'immutable'; import { AUTH_APP_CREATED, @@ -300,7 +300,7 @@ describe('auth reducer', () => { it('sets the value of `me`', () => { const action = { type: SWITCH_ACCOUNT, - account: fromJS({ url: 'https://gleasonator.com/users/benis' }), + account: { url: 'https://gleasonator.com/users/benis' }, }; const result = reducer(undefined, action);