Index: remoting/webapp/js_proto/sinon_proto.js |
diff --git a/remoting/webapp/js_proto/sinon_proto.js b/remoting/webapp/js_proto/sinon_proto.js |
index 6cf1ab3e2d94f3b1360a6fa11165757c138fc090..d7e1a2feeb352ca63d3a00891f7d7747d9ce3198 100644 |
--- a/remoting/webapp/js_proto/sinon_proto.js |
+++ b/remoting/webapp/js_proto/sinon_proto.js |
@@ -83,6 +83,9 @@ sinon.Spy.prototype.callCount; |
/** @type {boolean} */ |
sinon.Spy.prototype.called = false; |
+/** @type {boolean} */ |
+sinon.Spy.prototype.calledOnce = false; |
+ |
/** @type {function(...):boolean} */ |
sinon.Spy.prototype.calledWith = function() {}; |
@@ -91,6 +94,8 @@ sinon.Spy.prototype.getCall = function(index) {}; |
sinon.Spy.prototype.reset = function() {}; |
+sinon.Spy.prototype.restore = function() {}; |
+ |
/** |
* @param {Object} obj |
* @param {string} method |