I've gotten my node (node-red-contrib-mytimeout) testing working with node-red-node-test-helper (thanks folks). Now I need to add to the testing to test the functionality of the node. I'm not sure how I can unit test a node. At the moment my functionality testing is very simple. One input, one output; basically simple stuff. But now I need to test things that happen over time. But I have 2 outputs, one is basically on/warn/off and the other the remaining seconds on the timer. I'm not sure how to test these with mocha (or something else).
Can anyone provide some pointers, urls, anything that will help me to learn to setup my testing?