### Version 1.0.0-beta.28 ### Reproduction link [https://codesandbox.io/s/zkxn8pxpm3?expanddevtools=1&module=%2Fsrc%2Fcomponents%2FHelloWorld.test.js](https://codesandbox.io/s/zkxn8pxpm3?expanddevtools=1&module=%2Fsrc%2Fcomponents%2FHelloWorld.test.js) ### Steps to reproduce Create a function component with 2 root elements and try to mount it. ### What is expected? Since functional components can have multiple root elements and works in the browser, mount and shallowMount methods should render it normally too. ### What is actually happening? The component is not mounting and console throws an error (which is not thrown in the browser). <!-- generated by vue-issues. DO NOT REMOVE -->