diff --git a/packages/desktop/src/rtl-tests/community.join.test.tsx b/packages/desktop/src/rtl-tests/community.join.test.tsx index 6b7d0331ff..3005a30372 100644 --- a/packages/desktop/src/rtl-tests/community.join.test.tsx +++ b/packages/desktop/src/rtl-tests/community.join.test.tsx @@ -29,10 +29,8 @@ import { InvitationData, ChannelsReplicatedPayload, ChannelSubscribedPayload, - Community, ErrorPayload, - type InitCommunityPayload, - type NetworkInfo, + InitCommunityPayload, ResponseLaunchCommunityPayload, SocketActionTypes, } from '@quiet/types' @@ -169,11 +167,10 @@ describe('User', () => { expect(actions).toMatchInlineSnapshot(` Array [ - "Communities/joinNetwork", "Communities/createNetwork", + "Communities/setInvitationCodes", "Communities/addNewCommunity", "Communities/setCurrentCommunity", - "Communities/setInvitationCodes", "Identity/addNewIdentity", "Modals/closeModal", "Modals/openModal", diff --git a/packages/mobile/src/tests/deep.linking.test.tsx b/packages/mobile/src/tests/deep.linking.test.tsx index 651ec706d2..a270149d04 100644 --- a/packages/mobile/src/tests/deep.linking.test.tsx +++ b/packages/mobile/src/tests/deep.linking.test.tsx @@ -68,12 +68,11 @@ describe('Deep linking', () => { [ "Init/deepLink", "Init/resetDeepLink", - "Communities/joinNetwork", "Communities/createNetwork", "Navigation/replaceScreen", + "Communities/setInvitationCodes", "Communities/addNewCommunity", "Communities/setCurrentCommunity", - "Communities/setInvitationCodes", "Identity/addNewIdentity", "Init/deepLink", "Init/resetDeepLink", diff --git a/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.test.ts b/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.test.ts index 8a69c7b4db..c727c2d713 100644 --- a/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.test.ts +++ b/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.test.ts @@ -79,6 +79,7 @@ describe('launchCommunity', () => { peers: community.peerList, psk: undefined, ownerOrbitDbIdentity: undefined, + inviteData: undefined, } await expectSaga(launchCommunitySaga, socket, communitiesActions.launchCommunity(community.id)) @@ -128,6 +129,7 @@ describe('launchCommunity', () => { peers: community.peerList, psk: undefined, ownerOrbitDbIdentity: undefined, + inviteData: undefined, } await expectSaga(launchCommunitySaga, socket, communitiesActions.launchCommunity(community.id)) diff --git a/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.ts b/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.ts index f1cc551089..9260ded78c 100644 --- a/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.ts +++ b/packages/state-manager/src/sagas/communities/launchCommunity/launchCommunity.saga.ts @@ -46,7 +46,6 @@ export function* launchCommunitySaga( } const invitationCodes = yield* select(communitiesSelectors.invitationCodes) - console.log('!! ! ! !Current invitation codes', invitationCodes) let peerList: string[] = [] if (invitationCodes) {