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

Unified Diff: remoting/webapp/unittests/it2me_helpee_channel_unittest.js

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/unittests/it2me_helpee_channel_unittest.js
diff --git a/remoting/webapp/unittests/it2me_helpee_channel_unittest.js b/remoting/webapp/unittests/it2me_helpee_channel_unittest.js
index 9c66b49f9b47f10ed528943f0bfd12bae1e80825..21306aa336dde153c16eb8db2503a2d2b0abdff2 100644
--- a/remoting/webapp/unittests/it2me_helpee_channel_unittest.js
+++ b/remoting/webapp/unittests/it2me_helpee_channel_unittest.js
@@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+/**
+ * @fileoverview
+ * @suppress {checkTypes|checkVars|reportUnknownTypes|visibility}
+ */
+
(function() {
'use strict';
@@ -15,7 +20,7 @@ var onDisposedCallback = null;
module('It2MeHelpeeChannel', {
setup: function() {
// HangoutPort
- hangoutPort = new chromeMocks.runtime.Port();
+ hangoutPort = new chrome.runtime.Port();
hangoutPort.postMessage = sinon.spy(hangoutPort, 'postMessage');
hangoutPort.disconnect = sinon.spy(hangoutPort, 'disconnect');

Powered by Google App Engine
This is Rietveld 408576698