mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Updated test to reflect saving settings in nodes
This commit is contained in:
parent
b006ccf610
commit
81e08e06e4
@ -301,7 +301,7 @@ describe('NodeRegistry', function() {
|
||||
moduleList.should.be.Array.and.have.length(1);
|
||||
|
||||
settingsSave.callCount.should.equal(1);
|
||||
settingsSave.firstCall.args[0].should.be.equal("modules");
|
||||
settingsSave.firstCall.args[0].should.be.equal("nodes");
|
||||
var savedList = settingsSave.firstCall.args[1];
|
||||
|
||||
savedList[moduleList[0].name].name.should.equal(moduleList[0].name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user