vimo-dt
Version:
A Vue2.x UI Project For Mobile & HyBrid
25 lines (24 loc) • 640 B
JavaScript
/* eslint-disable no-undef,no-unused-expressions */
//
// import { mount } from 'vue-test-utils'
// import Nav from '../index'
//
// let opts = {
// slots: {
// default: '<span>default</span>'
// }
// }
//
// describe('Nav', function () {
// it('@base: renders the correct markup', function () {
// let wrapper = mount(Nav, opts)
// const result = `<nav class="ion-nav"><!----> <span>default</span></nav>`
//
// expect(wrapper.html()).toEqual(result)
// })
//
// it('@base: component must have a name', function () {
// let wrapper = mount(Nav, opts)
// expect(wrapper.name()).toEqual('Nav')
// })
// })