diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js index 1c77c69d4..8b085c285 100644 --- a/test/specs/mounting-options/slots.spec.js +++ b/test/specs/mounting-options/slots.spec.js @@ -237,24 +237,6 @@ describeWithMountingMethods('options.slots', mountingMethod => { } }) - it('mounts functional component with only named text slot', () => { - const TestComponent = { - name: 'component-with-slots', - functional: true, - render: (h, ctx) => h('div', ctx.data, [ctx.slots().default, ctx.slots().footer]) - } - const wrapper = mountingMethod(TestComponent, { - slots: { - footer: 'foo' - } - }) - if (mountingMethod.name === 'renderToString') { - expect(wrapper).contains('foo') - } else { - expect(wrapper.text()).to.equal('foo') - } - }) - it('mounts functional component with text slot', () => { const TestComponent = { name: 'component-with-slots',