test: update transfer test
parent
8f732fc421
commit
292e2bc6fe
|
@ -3,6 +3,7 @@ import { renderToString } from '@vue/server-test-utils';
|
||||||
import Transfer from '..';
|
import Transfer from '..';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { asyncExpect } from '@/tests/utils';
|
import { asyncExpect } from '@/tests/utils';
|
||||||
|
import mountTest from '../../../tests/shared/mountTest';
|
||||||
|
|
||||||
const listCommonProps = {
|
const listCommonProps = {
|
||||||
dataSource: [
|
dataSource: [
|
||||||
|
@ -87,6 +88,7 @@ const searchTransferProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('Transfer', () => {
|
describe('Transfer', () => {
|
||||||
|
mountTest(Transfer);
|
||||||
it('should render correctly', () => {
|
it('should render correctly', () => {
|
||||||
const props = {
|
const props = {
|
||||||
propsData: listCommonProps,
|
propsData: listCommonProps,
|
||||||
|
|
Loading…
Reference in New Issue