Reproduction
See example
Steps to reproduce the bug
During Vitest unit tests when using named views via the @viewname.vue convention as described here, a warning is shown that "conflicting files" are found for said route.
In the below example a /posts route exists, with a default view index.vue and a named header view.
[vue-router] Conflicting files found for route "/posts":
- /my-app/src/pages/posts/index.vue
- /my-app/src/pages/posts/[email protected]
Expected behavior
Warning is not triggered for named views during tests.
Actual behavior
Warning is triggered for any named views.
Additional information
Vue-router-mock is used in tests.
Reproduction
See example
Steps to reproduce the bug
During Vitest unit tests when using named views via the
@viewname.vueconvention as described here, a warning is shown that "conflicting files" are found for said route.In the below example a
/postsroute exists, with a default viewindex.vueand a namedheaderview.Expected behavior
Warning is not triggered for named views during tests.
Actual behavior
Warning is triggered for any named views.
Additional information
Vue-router-mock is used in tests.