mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Updated remove modules tests to reflect getNodeModuleInfo changes
This commit is contained in:
parent
1a5751ff1d
commit
8b6e287a74
@ -270,7 +270,7 @@ describe("red/nodes/index", function() {
|
||||
});
|
||||
sinon.stub(registry,"getNodeModuleInfo",function(module) {
|
||||
if (module == "node-red") {
|
||||
return {name:"node-red",nodes:["foo"]};
|
||||
return ["foo"];
|
||||
} else if (module == "doesnotexist") {
|
||||
return null;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user