mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
additional update of test for NR_ prefix addition
This commit is contained in:
parent
56580c4005
commit
aa3f5001d5
@ -212,7 +212,7 @@ describe('Subflow', function() {
|
|||||||
currentNodes[node.id] = node;
|
currentNodes[node.id] = node;
|
||||||
this.on('input',function(msg) {
|
this.on('input',function(msg) {
|
||||||
var flow = node._flow;
|
var flow = node._flow;
|
||||||
var val = flow.getSetting("NODE_NAME");
|
var val = flow.getSetting("NR_NODE_NAME");
|
||||||
node.received = val;
|
node.received = val;
|
||||||
node.send({payload: val});
|
node.send({payload: val});
|
||||||
});
|
});
|
||||||
@ -241,7 +241,7 @@ describe('Subflow', function() {
|
|||||||
currentNodes[node.id] = node;
|
currentNodes[node.id] = node;
|
||||||
this.on('input',function(msg) {
|
this.on('input',function(msg) {
|
||||||
var flow = node._flow;
|
var flow = node._flow;
|
||||||
var val = flow.getSetting("NODE_ID");
|
var val = flow.getSetting("NR_NODE_ID");
|
||||||
node.received = val;
|
node.received = val;
|
||||||
node.send({payload: val});
|
node.send({payload: val});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user