(slots: any)
| 14 | |
| 15 | describe('component: slots', () => { |
| 16 | function renderWithSlots(slots: any): any { |
| 17 | let instance: any |
| 18 | const Comp = { |
| 19 | render() { |
| 20 | instance = getCurrentInstance() |
| 21 | return h('div') |
| 22 | }, |
| 23 | } |
| 24 | |
| 25 | render(h(Comp, null, slots), nodeOps.createElement('div')) |
| 26 | return instance |
| 27 | } |
| 28 | |
| 29 | test('initSlots: instance.slots should be set correctly', () => { |
| 30 | let instance: any |
no test coverage detected