node-red/test/nodes/core/function
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
..
10-function_spec.js Function node: add `node.outputCount` property to sandbox (#2918) 2021-04-08 14:52:02 +01:00
10-switch_spec.js Fix Switch node handling of hasKey rule when property is undefined 2021-03-30 21:37:39 +01:00
15-change_spec.js Allow nested msg properties in msg/flow/global expressions (#2822) 2021-01-27 20:32:52 +00:00
16-range_spec.js Reorganise nodes into new categories 2019-08-21 14:23:23 +01:00
80-template_spec.js Reorganise nodes into new categories 2019-08-21 14:23:23 +01:00
89-delay_spec.js Add support for Messaging API to delay node 2020-10-26 16:52:18 +09:00
89-trigger_spec.js Messaging API support in Trigger node 2020-11-05 15:09:41 +09:00
90-exec_spec.js Exec node: remove addpayValue and reuse addpay to track appending property 2021-03-31 23:50:00 +01:00