import Vue from 'vue'
import init from 'test/unit/init'
import { TestUtil } from 'vue-client'

import EquipmentQuery from 'src/components/ManageBusiness/EquipmentQuery'

describe('EquipmentQuery: 设备查询', () => {
  let vm = null
  before(() => {
    init()
  })

  after(function () {
  })

  it('组件能够正确显示', async function() {
    await Vue.$login.login('hainan', '1')
    vm = await TestUtil.createAsyncTest(EquipmentQuery, {})
    assert.include(vm.$el.innerText, '')
  })
})
