text()

Returns text content of wrapper.

Returns

(String): text content of wrapper.

Example

import { mount } from 'avoriaz';
import Foo from './Foo.vue';

const wrapper = mount(Foo);
expect(wrapper.text()).to.equal('bar');

results matching ""

    No results matching ""