test: update transfer test

pull/1845/head
tangjinzhou 2020-02-28 16:07:10 +08:00
parent 8f732fc421
commit 292e2bc6fe
1 changed files with 2 additions and 0 deletions

View File

@ -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,