Subscribe on changes!

Tests Fails When Using Multiple Root Nodes

avatar
Jun 27th 2021

Version

3.1.2

Reproduction link

https://github.com/heywhy/vite-tailwind-setup

Steps to reproduce

  1. Clone the linked repository (https://github.com/heywhy/vite-tailwind-setup)
  2. Install dependencies, yarn install
  3. 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.

avatar
Jun 27th 2021

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.