From 9f4190f7817c571aada71708ddee9caeb5ddf85f Mon Sep 17 00:00:00 2001 From: Jamie V Date: Wed, 11 Aug 2021 15:11:17 -0700 Subject: [PATCH] [Linting] Fix linting errors (#4082) --- src/plugins/persistence/couch/CouchObjectProvider.js | 1 + src/plugins/remoteClock/RemoteClockSpec.js | 5 ++++- src/plugins/remoteClock/plugin.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/plugins/persistence/couch/CouchObjectProvider.js b/src/plugins/persistence/couch/CouchObjectProvider.js index 159b2e8cab..5cd0a19bd5 100644 --- a/src/plugins/persistence/couch/CouchObjectProvider.js +++ b/src/plugins/persistence/couch/CouchObjectProvider.js @@ -47,6 +47,7 @@ export default class CouchObjectProvider { let provider = this; let sharedWorker; + // eslint-disable-next-line no-undef const sharedWorkerURL = `${this.openmct.getAssetPath()}${__OPENMCT_ROOT_RELATIVE__}couchDBChangesFeed.js`; sharedWorker = new SharedWorker(sharedWorkerURL); diff --git a/src/plugins/remoteClock/RemoteClockSpec.js b/src/plugins/remoteClock/RemoteClockSpec.js index 83adc18544..8b6cf97935 100644 --- a/src/plugins/remoteClock/RemoteClockSpec.js +++ b/src/plugins/remoteClock/RemoteClockSpec.js @@ -137,7 +137,10 @@ describe("the RemoteClock plugin", () => { it('will request the latest datum for the object it received and process the datum returned', () => { expect(openmct.telemetry.request).toHaveBeenCalledWith(remoteClock.timeTelemetryObject, REQ_OPTIONS); - expect(boundsCallback).toHaveBeenCalledWith({ start: TIME_VALUE + OFFSET_START, end: TIME_VALUE + OFFSET_END }, true); + expect(boundsCallback).toHaveBeenCalledWith({ + start: TIME_VALUE + OFFSET_START, + end: TIME_VALUE + OFFSET_END + }, true); }); it('will set up subscriptions correctly', () => { diff --git a/src/plugins/remoteClock/plugin.js b/src/plugins/remoteClock/plugin.js index 0ff90f1f62..a6b24d0844 100644 --- a/src/plugins/remoteClock/plugin.js +++ b/src/plugins/remoteClock/plugin.js @@ -22,7 +22,7 @@ import RemoteClock from "./RemoteClock"; /** - * Install a clock that uses a configurable telemetry endpoint. + * Install a clock that uses a configurable telemetry endpoint. */ export default function (identifier) {