export function stubComponent(Component, options = {}) { return { props: Component.props, model: Component.model, // Do not render any slots/scoped slots except default // This differs from VTU behavior which renders all slots template: '
', // allows wrapper.find(Component) to work for stub $_vueTestUtils_original: Component, ...options, }; }