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

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

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename sinon.$testStub -> sinon.TestStub Created 5 years, 10 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
Index: remoting/webapp/js_proto/test_proto.js
diff --git a/remoting/webapp/js_proto/test_proto.js b/remoting/webapp/js_proto/test_proto.js
index 41124ba96305fa524656eb3c9c5968b3a0da06e2..6689cfd6fb1c9dc3b831ac5e21386d12d34702d2 100644
--- a/remoting/webapp/js_proto/test_proto.js
+++ b/remoting/webapp/js_proto/test_proto.js
@@ -9,16 +9,12 @@
/** @suppress {duplicate} */
var browserTest = browserTest || {};
-/** @suppress {duplicate} */
-var sinon = sinon || {};
-
/** @interface */
browserTest.TestableClass = function() {};
/** @param {*} data */
browserTest.TestableClass.prototype.run = function(data) {};
-sinon.spy = function() {};
/** @constructor */
window.DomAutomationControllerMessage = function() {

Powered by Google App Engine
This is Rietveld 408576698