mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
ESLint rules: rules requiring minor changes (#3139)
* implemented trivial code changes necessary batch of rules Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -108,8 +108,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { OPERATIONS } from '../utils/operations';
|
||||
import { INPUT_TYPES } from '../utils/operations';
|
||||
import { OPERATIONS, INPUT_TYPES } from '../utils/operations';
|
||||
import {TRIGGER_CONJUNCTION} from "../utils/constants";
|
||||
|
||||
export default {
|
||||
|
@ -34,9 +34,6 @@ export default class AllTelemetryCriterion extends TelemetryCriterion {
|
||||
* @param telemetryDomainObjectDefinition {id: uuid, operation: enum, input: Array, metadata: string, key: {domainObject.identifier} }
|
||||
* @param openmct
|
||||
*/
|
||||
constructor(telemetryDomainObjectDefinition, openmct) {
|
||||
super(telemetryDomainObjectDefinition, openmct);
|
||||
}
|
||||
|
||||
initialize() {
|
||||
this.telemetryObjects = { ...this.telemetryDomainObjectDefinition.telemetryObjects };
|
||||
|
@ -119,7 +119,7 @@ describe("The telemetry criterion", function () {
|
||||
});
|
||||
|
||||
describe('the LAD request', () => {
|
||||
beforeEach(async () => {
|
||||
beforeEach(() => {
|
||||
let telemetryRequestResolve;
|
||||
let telemetryRequestPromise = new Promise((resolve) => {
|
||||
telemetryRequestResolve = resolve;
|
||||
@ -133,7 +133,7 @@ describe("The telemetry criterion", function () {
|
||||
});
|
||||
});
|
||||
|
||||
it("returns results for slow LAD requests", async function () {
|
||||
it("returns results for slow LAD requests", function () {
|
||||
const criteriaRequest = telemetryCriterion.requestLAD();
|
||||
telemetryCriterion.destroy();
|
||||
expect(telemetryCriterion.telemetryObject).toBeUndefined();
|
||||
|
Reference in New Issue
Block a user