Closed lexiross closed 7 years ago
Perfect! Thanks for taking this on :)
Yeah, probably easiest to not write tests for the helper functions (I think you'd have to export them in the module if you wanted to test them directly). All the things that use getRadicandNode
have tests that are passing, so looks good to me!
Hope to see you on some other issues too! 😸 let me know if you have any questions
@evykassirer yay, thanks for the merge! I'll look at the other issues for sure - excited to dig in and understand the code base more 💯
Implemented helper function
getRadicandNote
and called it in place of accessingnodes.args[0]
onnthRoot
nodes.Fixes #34
It looks like the other helper functions in the file (like
getRootNode
) don't have unit tests on them, but let me know if you'd like me to write them for this one!