1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test/nodes/core
Kristian Heljas 7b8ed487e9
Function node: add node.outputCount property to sandbox (#2918)
* Function node: add `node.outputs` property to sandbox

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848

* style: indetation for function node sanbox code

I guess this was unintentionally unindented in d51aefa156 (diff-24cd715c3b7405ea194bfdc0dc2a350ceb2f5d18696b8163c3e40105b981a666)

* Function node: tests for accessing node properties

consistently tests that `node.id`, `node.name` and `node.outputs`
are available in `init()`, `func()` and `finalize()` methods.

* Function node: rename `node.outputs` to `node.outputCount`

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848/9?u=kristian
2021-04-08 14:52:02 +01:00
..
common Add bulk-activate actions for debug node 2020-05-27 12:20:23 +01:00
function Function node: add node.outputCount property to sandbox (#2918) 2021-04-08 14:52:02 +01:00
network Fully remove when.js dependency 2020-12-07 11:49:01 +00:00
parsers CSV better handling of messages with incoming parts - to create array output 2021-03-11 12:47:54 +00:00
sequence fix join node in array mode with repeated messages, and rallow reset all 2021-02-09 17:27:58 +00:00
storage Reorganise nodes into new categories 2019-08-21 14:23:23 +01:00