universal-connectivity icon indicating copy to clipboard operation
universal-connectivity copied to clipboard

CI: Introduce tests for JS-peer

Open maschad opened this issue 1 year ago • 2 comments

It would be good to have a basic ping test akin to the one in js-libp2p ping module to ensure that breaking changes are caught at runtime.

maschad avatar May 08 '24 15:05 maschad

Do the ping module tests in js-libp2p run in the browser?

2color avatar May 08 '24 15:05 2color

Yup, we use aegir to run them

Aegir uses https://github.com/microsoft/playwright under the hood to run the browser tests.

I've also had a good experience using vitest's browser mode as well so that would be my recommendation.

maschad avatar May 08 '24 15:05 maschad