Skip to content

Commit e9374b8

Browse files
38elementseddyerburgh
authored andcommitted
fix: remove incorrect test (#847)
1 parent 1ff0540 commit e9374b8

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Diff for: test/specs/mounting-options/slots.spec.js

-18
Original file line numberDiff line numberDiff line change
@@ -237,24 +237,6 @@ describeWithMountingMethods('options.slots', mountingMethod => {
237237
}
238238
})
239239

240-
it('mounts functional component with only named text slot', () => {
241-
const TestComponent = {
242-
name: 'component-with-slots',
243-
functional: true,
244-
render: (h, ctx) => h('div', ctx.data, [ctx.slots().default, ctx.slots().footer])
245-
}
246-
const wrapper = mountingMethod(TestComponent, {
247-
slots: {
248-
footer: 'foo'
249-
}
250-
})
251-
if (mountingMethod.name === 'renderToString') {
252-
expect(wrapper).contains('foo')
253-
} else {
254-
expect(wrapper.text()).to.equal('foo')
255-
}
256-
})
257-
258240
it('mounts functional component with text slot', () => {
259241
const TestComponent = {
260242
name: 'component-with-slots',

0 commit comments

Comments
 (0)