mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update to latest sinon
This commit is contained in:
@@ -26,7 +26,7 @@ describe('flows/util', function() {
|
||||
var getType;
|
||||
|
||||
before(function() {
|
||||
getType = sinon.stub(typeRegistry,"get",function(type) {
|
||||
getType = sinon.stub(typeRegistry,"get").callsFake(function(type) {
|
||||
return type!=='missing';
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user