diff --git a/components/transfer/__tests__/index.test.js b/components/transfer/__tests__/index.test.js index f142b6a9e..f8aed71ad 100644 --- a/components/transfer/__tests__/index.test.js +++ b/components/transfer/__tests__/index.test.js @@ -3,6 +3,7 @@ import { renderToString } from '@vue/server-test-utils'; import Transfer from '..'; import Vue from 'vue'; import { asyncExpect } from '@/tests/utils'; +import mountTest from '../../../tests/shared/mountTest'; const listCommonProps = { dataSource: [ @@ -87,6 +88,7 @@ const searchTransferProps = { }; describe('Transfer', () => { + mountTest(Transfer); it('should render correctly', () => { const props = { propsData: listCommonProps,