1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated remove modules tests to reflect getNodeModuleInfo changes

This commit is contained in:
Anna Thomas 2014-12-05 16:51:26 +00:00
parent 1a5751ff1d
commit 8b6e287a74

View File

@ -270,7 +270,7 @@ describe("red/nodes/index", function() {
}); });
sinon.stub(registry,"getNodeModuleInfo",function(module) { sinon.stub(registry,"getNodeModuleInfo",function(module) {
if (module == "node-red") { if (module == "node-red") {
return {name:"node-red",nodes:["foo"]}; return ["foo"];
} else if (module == "doesnotexist") { } else if (module == "doesnotexist") {
return null; return null;
} else { } else {