Returns HTML of Wrapper
DOM node as a string.
-
Returns:
{string}
-
Example:
import { mount } from '@vue/test-utils'
import { expect } from 'chai'
import Foo from './Foo.vue'
const wrapper = mount(Foo)
expect(wrapper.html()).toBe('<div><p>Foo</p></div>')