From ab52596a005a98f11469771fb9e824984be2ba40 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:55:24 +0100 Subject: [PATCH 1/2] Clean up event listener --- src/components/cylc/workspace/Widget.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/cylc/workspace/Widget.vue b/src/components/cylc/workspace/Widget.vue index fa2cab1d3..1c17e505c 100644 --- a/src/components/cylc/workspace/Widget.vue +++ b/src/components/cylc/workspace/Widget.vue @@ -25,7 +25,7 @@ along with this program. If not, see . From 87d8e8839e2c0c9c3a36251d4f2f55d8edafdb96 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:44:11 +0100 Subject: [PATCH 2/2] Fix warning in test --- tests/unit/components/cylc/gscan/gscan.vue.spec.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/unit/components/cylc/gscan/gscan.vue.spec.js b/tests/unit/components/cylc/gscan/gscan.vue.spec.js index d0652658b..f33108ffd 100644 --- a/tests/unit/components/cylc/gscan/gscan.vue.spec.js +++ b/tests/unit/components/cylc/gscan/gscan.vue.spec.js @@ -16,9 +16,7 @@ */ import { mount } from '@vue/test-utils' -import { createStore } from 'vuex' import { createVuetify } from 'vuetify' -import storeOptions from '@/store/options' import GScan from '@/components/cylc/gscan/GScan.vue' import CommandMenuPlugin from '@/components/cylc/commandMenu/plugin' import { @@ -49,12 +47,6 @@ function filterNodes (wrapper, filteredOutNodesCache) { } describe('GScan component', () => { - const store = createStore(storeOptions) - const resetState = () => { - store.commit('workflows/SET_WORKFLOW_NAME', null) - } - beforeEach(resetState) - describe('Sorting', () => { it('sets workflow sort order by status', () => { // for each worflow state ...