Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Tests are failing and Code Coverage is kind of low #44

Closed
daviddias opened this issue Feb 12, 2018 · 11 comments
Closed

Tests are failing and Code Coverage is kind of low #44

daviddias opened this issue Feb 12, 2018 · 11 comments

Comments

@daviddias
Copy link
Member

@mkg20001 wanna take a look into that?

@mkg20001
Copy link
Member

Does #43 improve it?

@mkg20001
Copy link
Member

Note that the tests are in libp2p-websocket-star (rewrite-v2 branch) and not here in the server otherwise they would be duplicated. Got any ideas of how to resolve that?

@daviddias
Copy link
Member Author

We strive to have Master always green on CI. #43 might improve it but the reality is that it is blocked until libp2p/js-libp2p#159.

Can you improve the master branch as is to make sure the tests there are 100% passing?

@mkg20001
Copy link
Member

Actually #43 isn't blocked so much by that because the .__setSwarm hack works pretty well and considering this module is actually a giant hack (because p2p-circuit is already a thing, maybe we should remove relay here and rename this to webMDNS? libp2p/js-libp2p-webrtc-star#128 (comment)) so I don't know why we shouldn't use that hack to fix the hack...

@mkg20001
Copy link
Member

Btw, to fix this module I need multiformats/js-mafmt#21 merged and released first

@daviddias
Copy link
Member Author

mafmt v4.0.0 published.

@mkg20001
Copy link
Member

mkg20001 commented Feb 12, 2018

Tests should be now (that really depends on whether or not travis is in good mood today) fixed

@daviddias
Copy link
Member Author

Thank you :)

For the future, please avoid pushing directly into master.

@daviddias
Copy link
Member Author

Coverage is still kind of low (69%)

@mkg20001
Copy link
Member

Didn't we want to get rid of ws-star anyway? Does this even matter then?

@jacobheun
Copy link
Contributor

Tests in master are stable, https://ci.ipfs.team/blue/organizations/jenkins/libp2p%2Fjs-libp2p-websocket-star/activity?branch=master, and coverage is >80%.

Closing this.

@ghost ghost removed the ready label Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants