[Code Style] Run gulp fixstyle

...to apply code style settings from #142.
This commit is contained in:
Victor Woeltjen
2016-05-19 11:29:13 -07:00
parent f12b9704d9
commit fa77139077
440 changed files with 1885 additions and 1662 deletions

View File

@@ -49,11 +49,11 @@ define(
mockLog = jasmine.createSpyObj("$log", ["warn", "info", "debug"]);
mockDomainObject = jasmine.createSpyObj(
"domainObject",
[ "getId", "getCapability", "getModel" ]
["getId", "getCapability", "getModel"]
);
mockTelemetryService = jasmine.createSpyObj(
"telemetryService",
[ "requestTelemetry", "subscribe" ]
["requestTelemetry", "subscribe"]
);
mockReject = jasmine.createSpyObj("reject", ["then"]);
mockUnsubscribe = jasmine.createSpy("unsubscribe");
@@ -119,7 +119,9 @@ define(
it("provides an empty series when telemetry is missing", function () {
var series;
mockTelemetryService.requestTelemetry.andReturn(mockPromise({}));
telemetry.requestData({}).then(function (s) { series = s; });
telemetry.requestData({}).then(function (s) {
series = s;
});
expect(series.getPointCount()).toEqual(0);
});
@@ -147,7 +149,9 @@ define(
it("warns if no telemetry service can be injected", function () {
mockInjector.get.andCallFake(function () { throw ""; });
mockInjector.get.andCallFake(function () {
throw "";
});
// Verify precondition
expect(mockLog.warn).not.toHaveBeenCalled();