-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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/index@header.vue
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
✅ Done