Commit Graph

69 Commits

Author SHA1 Message Date
Franck Royer c491b65edc
Handle nim-waku process exit & error 2021-03-25 20:09:33 +11:00
Franck Royer ee0c63eba3
Improve helper function for log name 2021-03-25 15:49:07 +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 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 090b064c84
Kill nim-waku & js-libp2p nodes after tests 2021-03-22 14:24:01 +11:00
Franck Royer 5c29394937
Migrate to jest for better debugging experience
ava is not yet integrated in popular IDEs.
2021-03-17 15:34:58 +11:00
Franck Royer fe7daebbb0
Payload is now always a buffer 2021-03-15 16:26:07 +11:00
Franck Royer 3115874a05
Make testing in CI possible
By adding nim-waku as a submodule and building it as part of the tests.
2021-03-15 16:22:26 +11:00
Franck Royer a6cbdf3117
Segregate logs files in single directory 2021-03-15 13:38:36 +11:00
Franck Royer c99e02af20
Allow waiting for nim waku logs from test 2021-03-15 13:25:14 +11:00
Franck Royer fdbcbe0896
Allow multiple wakunodes to be started in parallel 2021-03-12 17:08:59 +11:00
Franck Royer 27c433f750
Test hex conversion functions 2021-03-12 10:44:47 +11:00
Franck Royer ee38df8757
Nim-interop: nim sends message (not working) 2021-03-12 10:35:50 +11:00
Franck Royer f0c9c3ef50
Check peer ids on both side when connecting 2021-03-11 15:02:29 +11:00
Franck Royer 057f5f80ab
test: Nim-waku connects to JS (success) 2021-03-11 11:11:37 +11:00
Franck Royer a6c1fae5a6
test: Nim-waku connects to JS (wip) 2021-03-11 10:54:35 +11:00
Franck Royer 4f63bd5835
test: Connect to nim waku 2021-03-10 17:39:53 +11:00