mirror of
https://github.com/nasa/openmct.git
synced 2025-03-11 15:04:10 +00:00
[Linting] Fix linting errors (#4082)
This commit is contained in:
parent
f3fc991a74
commit
9f4190f781
@ -47,6 +47,7 @@ export default class CouchObjectProvider {
|
|||||||
let provider = this;
|
let provider = this;
|
||||||
let sharedWorker;
|
let sharedWorker;
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
const sharedWorkerURL = `${this.openmct.getAssetPath()}${__OPENMCT_ROOT_RELATIVE__}couchDBChangesFeed.js`;
|
const sharedWorkerURL = `${this.openmct.getAssetPath()}${__OPENMCT_ROOT_RELATIVE__}couchDBChangesFeed.js`;
|
||||||
|
|
||||||
sharedWorker = new SharedWorker(sharedWorkerURL);
|
sharedWorker = new SharedWorker(sharedWorkerURL);
|
||||||
|
@ -137,7 +137,10 @@ describe("the RemoteClock plugin", () => {
|
|||||||
|
|
||||||
it('will request the latest datum for the object it received and process the datum returned', () => {
|
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(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', () => {
|
it('will set up subscriptions correctly', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user