Skip to content

Commit 292e2bc

Browse files
committed
test: update transfer test
1 parent 8f732fc commit 292e2bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/transfer/__tests__/index.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { renderToString } from '@vue/server-test-utils';
33
import Transfer from '..';
44
import Vue from 'vue';
55
import { asyncExpect } from '@/tests/utils';
6+
import mountTest from '../../../tests/shared/mountTest';
67

78
const listCommonProps = {
89
dataSource: [
@@ -87,6 +88,7 @@ const searchTransferProps = {
8788
};
8889

8990
describe('Transfer', () => {
91+
mountTest(Transfer);
9092
it('should render correctly', () => {
9193
const props = {
9294
propsData: listCommonProps,

0 commit comments

Comments
 (0)