You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the refactoring released in rc.18, we stumbled into a regression when updating in our projects
Failing test:
test('returns the element if it is a root element inside Suspense',()=>{constAsync=defineComponent({// works if there is a root element// template: '<div><h1>Hello</h1><span id="my-span">There</span></div>'// otherwise does not find the elementtemplate: '<h1>Hello</h1><span id="my-span">There</span>'})constComponent=defineComponent({components: { Async },template: '<Suspense><Async/></Suspense>'})constwrapper=mount(Component)expect(wrapper.get('#my-span')).not.toBeNull()})