12 Commits

Author SHA1 Message Date
Franck Royer
ee0c63eba3
Improve helper function for log name 2021-03-25 15:49:07 +11:00
Franck Royer
e89b4ca437
Override Gossipsub.join` function to consider waku peers
Instead of gossipsub peers, this allows js to publish messages to nim.
2021-03-24 12:22:00 +11:00
Franck Royer
71f3e9aa1f
Name logs with test name only 2021-03-24 12:22:00 +11:00
Franck Royer
2486071708
Reduce entropy usage in tests
When playing around with tests frameworks, it was noticed that noise
was using entropy that lead to handles remaining open at the end of the
test run.
2021-03-22 22:25:13 +11:00
Franck Royer
08a7f004c3
Missing protocols in identify message are now present
status-im/nim-waku/issues/419 has been fixed.
2021-03-22 22:05:18 +11:00
Franck Royer
27c3668121
Use --exit to force termination of node after tests 2021-03-22 21:36:44 +11:00
Franck Royer
d1e8ba2c6e
Finish conversion to mocha 2021-03-22 16:02:10 +11:00
Franck Royer
704f2770d1
Use ts-proto
This allows the generation of ts files which makes it easier
to handle with test frameworks than just d.ts files
2021-03-22 15:49:58 +11:00
Franck Royer
a89f2700a2
Partial conversion to ts-node/mocha 2021-03-22 15:05:03 +11:00
Franck Royer
090b064c84
Kill nim-waku & js-libp2p nodes after tests 2021-03-22 14:24:01 +11:00
Franck Royer
13e941513d
Reorg tests, add describe sections 2021-03-19 15:55:38 +11:00
Franck Royer
7d595b0c8f
Move waku relay tests in dedicated file 2021-03-19 15:55:38 +11:00