shallow

true | false

Uses shallow rendering to create the component.

This is essentially the same as stubbing all components, filters, and directives.

const vm = mount(c, {
    shallow : true
});

...is equivalent to...

const vm = mount(c, {
    stubComponents : true,
    stubFilters : true,
    stubDirectives : true
});

You can also get the equivalent result by using the shallow method:

import {shallow} from 'vuenit';
const vm = shallow(c, {});

results matching ""

    No results matching ""