Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 62830f2

Browse files
fix: detect ed25519 keys in ws test (#22)
1 parent efaee10 commit 62830f2

File tree

2 files changed

+2
-2
lines changed
  • examples

2 files changed

+2
-2
lines changed

examples/browser-exchange-files/tests/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ play.describe('upload file using http client: ', () => {
114114
const id = await daemon.api.id()
115115
const IPFS_RELAY_ADDRESS = id.addresses
116116
.map(ma => ma.toString())
117-
.find(addr => addr.includes('/ws/p2p'))
117+
.find(addr => addr.includes('/ws/p2p/'))
118118

119119

120120
const pageOnePeerId = (await pageOne.textContent(nodeId)).trim()

examples/circuit-relaying/tests/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ play.describe('http client pubsub:', () => {
108108

109109
const IPFS_RELAY_ADDRESS = id.addresses
110110
.map(ma => ma.toString())
111-
.find(addr => addr.includes('/ws/p2p/Qm'))
111+
.find(addr => addr.includes('/ws/p2p/'))
112112
const IPFS_RELAY_ID = id.id
113113

114114
const pageOnePeerId = await subscribe(pageOne, IPFS_RELAY_ADDRESS, IPFS_RELAY_ID)

0 commit comments

Comments
 (0)