Fixes tests.

This commit is contained in:
Joshi 2020-01-08 12:20:17 -08:00
parent 3d0b4d51c2
commit fe3cc661d3

View File

@ -23,7 +23,7 @@
import TelemetryCriterion from "./TelemetryCriterion"; import TelemetryCriterion from "./TelemetryCriterion";
import { createOpenMct } from "../../../testTools"; import { createOpenMct } from "../../../testTools";
let openmct, let openmct = createOpenMct(),
mockListener, mockListener,
testTelemetryObject, testTelemetryObject,
telemetryCriterion; telemetryCriterion;
@ -31,7 +31,6 @@ let openmct,
describe("The telemetry criterion", function () { describe("The telemetry criterion", function () {
beforeEach (() => { beforeEach (() => {
openmct = createOpenMct();
mockListener = jasmine.createSpy('listener'); mockListener = jasmine.createSpy('listener');
testTelemetryObject = { testTelemetryObject = {
identifier:{ namespace: "", key: "test-object"}, identifier:{ namespace: "", key: "test-object"},