Skip to content

Commit d05c872

Browse files
committed
fix(app): lint warnings
1 parent 570d97b commit d05c872

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/app/modules/collection/components/CTable.spec.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { faker } from '@faker-js/faker'
22
import { test, expect, describe, beforeAll, afterEach } from 'vitest'
3-
import { mount } from '@vue/test-utils'
43
import { setActivePinia, createPinia } from 'pinia'
54

6-
import type { VueWrapper, ComponentMountingOptions } from '@vue/test-utils'
7-
85
import ViewTable from '@index-san/core/entities/view-table'
96
import Collection from '@index-san/core/entities/collection'
107
import ItemFactory from '@index-san/core/__tests__/factories/item'
@@ -25,7 +22,6 @@ import { useViewStore } from '@modules/view/store'
2522
import { useApp } from '__tests__/fixtures/app'
2623
import Workspace from '@index-san/core/entities/workspace'
2724
import { waitFor } from '@composables/utils'
28-
import pinia from '@plugins/pinia'
2925
import { useMountWrapper } from '__tests__/fixtures/component'
3026

3127
describe('CTable.vue', () => {
@@ -143,7 +139,7 @@ describe('CTable.vue', () => {
143139
test('should show c-actions by default', async () => {
144140
const collection = await createCollection()
145141

146-
const wrapper = component.mount({
142+
component.mount({
147143
props: {
148144
collectionId: collection.id,
149145
},
@@ -222,7 +218,7 @@ describe('CTable.vue', () => {
222218
})),
223219
})
224220

225-
const wrapper = component.mount({
221+
component.mount({
226222
props: {
227223
collectionId: collection.id,
228224
viewId: view.id,

0 commit comments

Comments
 (0)