When testing nodes that use a config node that implements RED.httpAdmin.get(…, the tests fail.
When doing helper.getNode("node1")
It fails with this error:
TypeError: Cannot read property ‘get’ of null
at Array.module.exports (location to line number with RED.httpAdmin.get(… )
at Object.load (node_modules/node-red-node-test-helper/index.js:131:28)
at Context.<anonymous> (to location of the helper.load(<node that implements the config>))
When testing nodes that use a config node that implements
RED.httpAdmin.get(…
, the tests fail. When doinghelper.getNode("node1")
It fails with this error:Code of the config