mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update unit tests
This commit is contained in:
@@ -317,7 +317,11 @@ var registry = (function() {
|
||||
},
|
||||
|
||||
getNodeConfig: function(id) {
|
||||
var config = moduleConfigs[getModule(id)].nodes[getNode(id)];
|
||||
var config = moduleConfigs[getModule(id)];
|
||||
if (!config) {
|
||||
return null;
|
||||
}
|
||||
config = config.nodes[getNode(id)];
|
||||
if (config) {
|
||||
var result = config.config;
|
||||
if (config.script) {
|
||||
|
||||
Reference in New Issue
Block a user