Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: remoting/webapp/js_proto/sinon_proto.js

Issue 1013633003: remoting.Identity unit-tests and fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix jscompile errors. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/js_proto/chrome_mocks.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/webapp/js_proto/chrome_mocks.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698