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

Update test for latest sinon

This commit is contained in:
Nick O'Leary 2021-04-15 15:15:52 +01:00
parent 8140057bea
commit 52ef85cba3
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -262,7 +262,7 @@ describe('nodes/registry/installer', function() {
p.catch((err)=>{}); p.catch((err)=>{});
execResponse = p; execResponse = p;
var addModule = sinon.stub(registry,"addModule",function(md) { var addModule = sinon.stub(registry,"addModule").callsFake(function(md) {
return Promise.resolve(nodeInfo); return Promise.resolve(nodeInfo);
}); });