Commit 7a356ea9 authored by jrw's avatar jrw Committed by Commit bot

Fixed host_controller_unittest.js with code coverage enabled.

BUG=

Review URL: https://codereview.chromium.org/1064683006

Cr-Commit-Position: refs/heads/master@{#325572}
parent 56f12329
......@@ -75,6 +75,7 @@ QUnit.module('host_controller', {
beforeEach: function(/** QUnit.Assert */ assert) {
chromeMocks.activate(['identity', 'runtime']);
chromeMocks.identity.mock$setToken(FAKE_IDENTITY_TOKEN);
remoting.settings = new remoting.Settings();
remoting.identity = new remoting.Identity();
remoting.MockXhr.activate();
base.debug.assert(remoting.oauth2 === null);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment