mirror of
https://github.com/node-red/node-red
synced 2024-11-21 15:43:16 +00:00
Update test for latest sinon
This commit is contained in:
parent
8140057bea
commit
52ef85cba3
@ -262,7 +262,7 @@ describe('nodes/registry/installer', function() {
|
||||
p.catch((err)=>{});
|
||||
execResponse = p;
|
||||
|
||||
var addModule = sinon.stub(registry,"addModule",function(md) {
|
||||
var addModule = sinon.stub(registry,"addModule").callsFake(function(md) {
|
||||
return Promise.resolve(nodeInfo);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user