UNPKG

address-client

Version:

地址管理前台组件

21 lines (18 loc) 583 B
import Vue from 'vue' import init from 'test/unit/init' import { TestUtil } from 'vue-client' import AddressModel from 'src/components/AddressModel' describe('src/components/AddressModel: 地址弹窗', () => { let vm = null before(async function () { init() await Vue.$appdata.load() await Vue.$login.login('ljt', '1') await new Promise(resolve => { resolve() }) }) it('显示', function() { vm = TestUtil.createAsyncTest(AddressModel,{isshow:true, isquery: true, isselect: false, showType: false, isbasch: true}) }) })