Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

feat: add path multiaddr support #118

Merged
merged 6 commits into from
Dec 6, 2019
Merged

feat: add path multiaddr support #118

merged 6 commits into from
Dec 6, 2019

Conversation

jacobheun
Copy link
Contributor

No description provided.

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
it('listen on path', async () => {
// Windows doesn't support unix paths
const mh = isWindows
? multiaddr('/ip4/0.0.0.0/tcp/8080')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we just skip this test in windows instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, that make more sense

@@ -192,6 +196,29 @@ describe('dial', () => {
await listener.close()
})

it('dial on path', async () => {
// Windows doesn't support unix paths
const ma = isWindows
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as before

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@jacobheun jacobheun marked this pull request as ready for review December 6, 2019 08:42
@jacobheun jacobheun merged commit d76a1f2 into master Dec 6, 2019
@jacobheun jacobheun deleted the feat/unix-path branch December 6, 2019 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants