Tests Fails When Using Multiple Root Nodes
Version
3.1.2
Reproduction link
https://github.com/heywhy/vite-tailwind-setup
Steps to reproduce
- Clone the linked repository (https://github.com/heywhy/vite-tailwind-setup)
- Install dependencies,
yarn install
- Run
yarn test
What is expected?
All tests should pass
What is actually happening?
The tests fail, pointing to insertStaticContent
in the @vue/runtime-dom
package
To fix this issue, I needed to wrap the content of src/pages/Index.vue
or src/components/HelloWorld.vue
in a top-level element. I don't think this is the expected behavior for fragments.
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
Bug reports should follow https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro. The problem here could come from many other places.