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:
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…
Reference in New Issue
Block a user