diff --git a/test/resources/components/Form.vue b/test/resources/components/Form.vue new file mode 100644 index 000000000..5fe16ecc0 --- /dev/null +++ b/test/resources/components/Form.vue @@ -0,0 +1,6 @@ + diff --git a/test/resources/components/LoginForm.vue b/test/resources/components/LoginForm.vue new file mode 100644 index 000000000..d1d886345 --- /dev/null +++ b/test/resources/components/LoginForm.vue @@ -0,0 +1,25 @@ + + + diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js index 3c2997def..3ff29d3c7 100644 --- a/test/specs/mounting-options/slots.spec.js +++ b/test/specs/mounting-options/slots.spec.js @@ -5,8 +5,15 @@ import ComponentAsAClass from '~resources/components/component-as-a-class.vue' import ComponentWithParentName from '~resources/components/component-with-parent-name.vue' import { describeWithShallowAndMount, vueVersion } from '~resources/utils' import { itDoNotRunIf } from 'conditional-specs' +import LoginForm, { FormError } from '~resources/components/LoginForm.vue' import { mount, createLocalVue } from 'packages/test-utils/src' +it.only('fails to reproduce https://github.com/vuejs/vue-test-utils/issues/1766', () => { + const localVue = createLocalVue() + const wrapper = mount(LoginForm, { localVue }) + expect(wrapper.findComponent(FormError).props('show')).toBe('blah') +}) + describeWithShallowAndMount('options.slots', mountingMethod => { it('mounts component with default slot if passed component in slot object', () => { const wrapper = mountingMethod(ComponentWithSlots, { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy