Closed gutenye closed 5 years ago
Hey can you add simple tests for these to tests/monero_utils.spec.js
? We can just compare to fixed expected output vals.
Added, I also removed them from tests/MyMoneroCoreCpp.node.js
unless you still want them there?
It's nice to have the tests in MyMoneroCoreCpp as well since that tests the Module directly (i.e. as a unit test), but it's not necessary... the monero_utils test acts as a lightweight-enough integration test.
Read more at mymonero-core-cpp PR
I use object-style way to pass the arguments in.
Don't forget to update the mymonero-core-cpp submodule after this is merged :)