UNPKG

manage-client

Version:

经营管控模块前台组件

22 lines (17 loc) 521 B
import Vue from 'vue' import init from 'test/unit/init' import { TestUtil } from 'vue-client' import TableWithQuery from 'src/components/ManageBusiness/TableWithQuery' describe('TableWithQuery: 表具查询', () => { let vm = null before(() => { init() }) after(function () { }) it('组件能够正确显示', async function() { await Vue.$login.login('hainan', '1') vm = await TestUtil.createAsyncTest(TableWithQuery, {}) assert.include(vm.$el.innerText, '') }) })