Index: remoting/webapp/unittests/it2me_service_unittest.js |
diff --git a/remoting/webapp/unittests/it2me_service_unittest.js b/remoting/webapp/unittests/it2me_service_unittest.js |
index 1bd66f5c7f9485ba9b4200e919aac81bd5648413..3e8e66a354fbb6803e34aaf77338efa4c68868d3 100644 |
--- a/remoting/webapp/unittests/it2me_service_unittest.js |
+++ b/remoting/webapp/unittests/it2me_service_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'; |
@@ -12,7 +17,7 @@ var webappPort = null; |
var it2meService = null; |
function createPort(name, senderId) { |
- var port = new chromeMocks.runtime.Port(); |
+ var port = new chrome.runtime.Port(); |
port.name = (senderId) ? name +'@' + senderId : name; |
port.postMessage = sinon.spy(port, 'postMessage'); |
port.disconnect = sinon.spy(port, 'disconnect'); |
@@ -129,4 +134,4 @@ test('should reject unknown connection', function() { |
sinon.assert.called(randomPort.disconnect); |
}); |
-})(); |
+})(); |