Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkabuki committed Aug 29, 2023
1 parent 089cd45 commit e27ca2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/backend/src/nest/libp2p/libp2p.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ describe('Libp2pService', () => {

it('creates libp2p address with proper ws type (%s)', async () => {
const libp2pAddress = libp2pService.createLibp2pAddress(params.localAddress, params.peerId.toString())
expect(libp2pAddress).toStrictEqual(
`/dns4/${params.localAddress}.onion/tcp/80/wss/p2p/${params.peerId.toString()}`
)
expect(libp2pAddress).toStrictEqual(`/dns4/${params.localAddress}.onion/tcp/80/wss/p2p/${params.peerId.toString()}`)
})

it('creates libp2p listen address', async () => {
Expand Down

0 comments on commit e27ca2d

Please sign in to comment.