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

Unified Diff: remoting/webapp/unittests/it2me_helper_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_helper_channel_unittest.js
diff --git a/remoting/webapp/unittests/it2me_helper_channel_unittest.js b/remoting/webapp/unittests/it2me_helper_channel_unittest.js
index f0a0fa230ea08838d45436cb292d28b4daa4812c..222fa49efe29121d28b80a272f11b5bf584514a9 100644
--- a/remoting/webapp/unittests/it2me_helper_channel_unittest.js
+++ b/remoting/webapp/unittests/it2me_helper_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';
@@ -25,12 +30,12 @@ module('It2MeHelperChannel', {
appLauncher.close = sinon.spy(appLauncher, 'close');
// HangoutPort.
- hangoutPort = new chromeMocks.runtime.Port();
+ hangoutPort = new chrome.runtime.Port();
hangoutPort.postMessage = sinon.spy(hangoutPort, 'postMessage');
hangoutPort.disconnect = sinon.spy(hangoutPort, 'disconnect');
// WebappPort.
- webappPort = new chromeMocks.runtime.Port();
+ webappPort = new chrome.runtime.Port();
webappPort.sender = {
tab : {
id : 'tabId'

Powered by Google App Engine
This is Rietveld 408576698