This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Use interface-transport tests with a wss multiaddr #93
Labels
exp/expert
Having worked on the specific codebase is important
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
For testing this module with a
wss
multiaddr we need to configure the server properly using a certificate.After this, and taking into consideration that we will use a self-signed certificate, we also need to provide the option
rejectUnauthorized: false
to the Websocket instantiation, through passing this option in thews.dial()
call.The current version of
interface-transport
does not allow us to configure each test individually, which does not allow us to provide this configuration only if we are using awss
multiaddr, which is mandatory to get these multiaddr.The text was updated successfully, but these errors were encountered: