js-libp2p
js-libp2p copied to clipboard
interop: add electron transport interop ping test
node.js/electron support for webrtc transport was added in https://github.com/libp2p/js-libp2p/pull/1905 & supports:
- Dialing private-to-private
- Listening private-to-private
- Dialing private-to-public
Currently blocked on the fact that all WebRTC tests are disabled: https://github.com/libp2p/js-libp2p/issues/1846
This is unblocked now. WebRTC/WebRTC Direct tests are run against node.js already but not electron.
Electron should run the same suite of transport tests as node.js.
To implement this:
- Create an ElectronDockerfile similar to https://github.com/libp2p/js-libp2p/blob/main/interop/BrowserDockerfile
- Build the electron container in https://github.com/libp2p/js-libp2p/blob/main/interop/Makefile
- Create an
electron-version.jsonsimilar to https://github.com/libp2p/js-libp2p/blob/main/interop/node-version.json - Add it to
extra-versions- https://github.com/libp2p/js-libp2p/blob/main/.github/workflows/main.yml#L236
@achingbrain I want to work on this Issue.
Great, please submit a PR!