Getting started with testing my created Node (coming from Python). I have followed the testing tutorial (Creating your first node : Node-RED) and got it working.
However, I now have a test that fails. But the only message I get is a timeout error:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Users\sander\repos\squid_nodes\test\data_spec.js)
I assume my node is causing a kind of exception, which is not caught and as a result exits the test before done()
can be called.
But where can I find the exception info ? That would be the part I need to solve my issue I guess.