1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test
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
..
editor Fix page object of inject node 2020-06-16 21:58:08 +09:00
node_modules/nr-test-utils Fixup all the tests 2018-08-20 16:17:24 +01:00
nodes Function node: add node.outputCount property to sandbox (#2918) 2021-04-08 14:52:02 +01:00
resources Allow module to provide resources and automatically expose them 2021-03-15 21:06:10 +00:00
unit Fix handling encrypted creds on /flows api 2021-03-06 20:27:51 +00:00