Skip to content

Commit

Permalink
fix conn-serv.spec.test
Browse files Browse the repository at this point in the history
  • Loading branch information
adrastaea committed Oct 11, 2024
1 parent f3e2608 commit 44d3721
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,7 @@ describe('ConnectionsManagerService', () => {
await connectionsManagerService.init()

const localPeerAddress = createLibp2pAddress(userIdentity.hiddenService.onionAddress, userIdentity.peerId.id)
const updatedLaunchCommunityPayload = {
community: { ...actualCommunity, peerList: [localPeerAddress, remotePeer] },
userIdentity,
}
const updatedLaunchCommunityPayload = { ...actualCommunity, peerList: [localPeerAddress, remotePeer] }

expect(launchCommunitySpy).toHaveBeenCalledWith(updatedLaunchCommunityPayload)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ import { DateTime } from 'luxon'
import { createLogger } from '../common/logger'
import { createUserCsr, getPubKey, keyObjectFromString, loadPrivateKey, pubKeyFromCsr } from '@quiet/identity'
import { config } from '@quiet/state-manager'
import { identity } from 'rxjs'

@Injectable()
export class ConnectionsManagerService extends EventEmitter implements OnModuleInit {
Expand Down

0 comments on commit 44d3721

Please sign in to comment.