mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix unit tests for externalModules
This commit is contained in:
parent
aacb92a7ae
commit
9d2d060dec
@ -204,7 +204,6 @@ function reinstallModules(moduleList) {
|
||||
if (settings.externalModules && settings.externalModules.hasOwnProperty('autoInstallRetry')) {
|
||||
installRetry = settings.externalModules.autoInstallRetry * 1000;
|
||||
}
|
||||
externalModules.autoInstallRetry
|
||||
for (var i=0;i<moduleList.length;i++) {
|
||||
if (moduleList[i].id != "node-red") {
|
||||
(function(mod) {
|
||||
|
@ -61,8 +61,8 @@ describe("runtime-api/settings", function() {
|
||||
result.should.not.have.property("foo",123);
|
||||
result.should.have.property("flowEncryptionType","test-key-type");
|
||||
result.should.not.have.property("user");
|
||||
result.should.have.property("editorTheme");
|
||||
result.editorTheme.should.eql({palette:{editable:false}});
|
||||
result.should.have.property("externalModules");
|
||||
result.externalModules.should.eql({palette:{allowInstall:false, allowUpload: false}});
|
||||
|
||||
})
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user