Skip to content

Commit 87d8e88

Browse files
committed
Fix warning in test
1 parent ab52596 commit 87d8e88

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/unit/components/cylc/gscan/gscan.vue.spec.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
*/
1717

1818
import { mount } from '@vue/test-utils'
19-
import { createStore } from 'vuex'
2019
import { createVuetify } from 'vuetify'
21-
import storeOptions from '@/store/options'
2220
import GScan from '@/components/cylc/gscan/GScan.vue'
2321
import CommandMenuPlugin from '@/components/cylc/commandMenu/plugin'
2422
import {
@@ -49,12 +47,6 @@ function filterNodes (wrapper, filteredOutNodesCache) {
4947
}
5048

5149
describe('GScan component', () => {
52-
const store = createStore(storeOptions)
53-
const resetState = () => {
54-
store.commit('workflows/SET_WORKFLOW_NAME', null)
55-
}
56-
beforeEach(resetState)
57-
5850
describe('Sorting', () => {
5951
it('sets workflow sort order by status', () => {
6052
// for each worflow state ...

0 commit comments

Comments
 (0)