I’m working on creating a custom Node-RED node following the Creating Your First Node guide from the official documentation.
I have successfully created the required files:
lower-case.js
(the node definition)lower-case.html
(for the node’s editor UI)test/lower-case_spec.js
(for unit testing usingnode-red-node-test-helper
)
I followed the steps to write my unit test using the node-red-node-test-helper
and the sample lower-case_spec.js
file.
I’m trying to run the tests, but I’m not sure about the exact command or steps.