From 02218c6c7c6c69d26cfc74b1e4b2b91adb9ee4f6 Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Thu, 17 Feb 2022 16:06:49 +0100 Subject: [PATCH] fix: linting issues and remove remainidn pauseTest --- ui/app/controllers/csi/volumes/index.js | 6 +++++- ui/app/controllers/jobs/job/task-group.js | 1 - ui/tests/acceptance/regions-test.js | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ui/app/controllers/csi/volumes/index.js b/ui/app/controllers/csi/volumes/index.js index 15fe6f9f423..43c30a22695 100644 --- a/ui/app/controllers/csi/volumes/index.js +++ b/ui/app/controllers/csi/volumes/index.js @@ -113,7 +113,11 @@ export default class IndexController extends Controller.extend( @action gotoVolume(volume, event) { lazyClick([ - () => this.transitionToRoute('csi.volumes.volume', volume.get('idWithNamespace')), + () => + this.transitionToRoute( + 'csi.volumes.volume', + volume.get('idWithNamespace') + ), event, ]); } diff --git a/ui/app/controllers/jobs/job/task-group.js b/ui/app/controllers/jobs/job/task-group.js index 30f29fb3a40..d02252e0a5b 100644 --- a/ui/app/controllers/jobs/job/task-group.js +++ b/ui/app/controllers/jobs/job/task-group.js @@ -5,7 +5,6 @@ import Controller from '@ember/controller'; import { action, computed, get } from '@ember/object'; import { scheduleOnce } from '@ember/runloop'; import intersection from 'lodash.intersection'; -import { qpBuilder } from 'nomad-ui/utils/classes/query-params'; import Sortable from 'nomad-ui/mixins/sortable'; import Searchable from 'nomad-ui/mixins/searchable'; import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting'; diff --git a/ui/tests/acceptance/regions-test.js b/ui/tests/acceptance/regions-test.js index b5000c72cf2..fc3ba70268f 100644 --- a/ui/tests/acceptance/regions-test.js +++ b/ui/tests/acceptance/regions-test.js @@ -152,7 +152,6 @@ module('Acceptance | regions (many)', function (hooks) { await Allocation.visit({ id: server.db.allocations[0].id }); - await this.pauseTest(); await selectChoose('[data-test-region-switcher-parent]', newRegion); assert.ok(currentURL().includes('/jobs?'), 'Back at the jobs page');