Skip to content

Commit

Permalink
clean up unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-longe committed Mar 17, 2023
1 parent 9ec7ac0 commit 95b5bcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/Conversion.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ import VueRouter from 'vue-router'
import flushPromises from 'flush-promises'
import sinon from 'sinon'
import { getVuexStore } from '@/store/'
import { shallowMount, createLocalVue, mount } from '@vue/test-utils'
import { shallowMount, createLocalVue } from '@vue/test-utils'
import { AxiosInstance as axios } from '@/utils/'
import Conversion from '@/views/Conversion.vue'
import ViewWrapper from '@/components/ViewWrapper.vue'
import mockRouter from './MockRouter'
import { FeeSummary as FeeSummaryShared } from '@bcrs-shared-components/fee-summary'

Vue.use(Vuetify)

Expand Down Expand Up @@ -232,7 +231,7 @@ describe('Conversion component', () => {
localVue.use(VueRouter)
const router = mockRouter.mock()
await router.push({ name: 'conversion' })
wrapper = mount(Conversion, { localVue, store, router, vuetify })
wrapper = shallowMount(Conversion, { localVue, store, router, vuetify })

// wait for all queries to complete
await flushPromises()
Expand Down

0 comments on commit 95b5bcd

Please sign in to comment.