()
| 9 | it('should render children when there is no error', () => { |
| 10 | const el = mount({ |
| 11 | setup () { |
| 12 | return () => h('div', {}, h(NuxtErrorBoundary, {}, { |
| 13 | default: () => h('span', 'default'), |
| 14 | error: () => h('span', 'error'), |
| 15 | })) |
| 16 | }, |
| 17 | }) |
| 18 | expect(el.html()).toMatchInlineSnapshot(`"<div><span>default</span></div>"`) |
| 19 | el.unmount() |
nothing calls this directly
no test coverage detected
searching dependent graphs…