Skip to content

test: Component tests with Vue test utils#7967

Closed
distantnative wants to merge 3 commits intov6/test/vitestfrom
v6/test/vue-util-tests
Closed

test: Component tests with Vue test utils#7967
distantnative wants to merge 3 commits intov6/test/vitestfrom
v6/test/vue-util-tests

Conversation

@distantnative
Copy link
Member

@distantnative distantnative commented Feb 23, 2026

Changelog

🧹 Housekeeping

  • Frontend component tests via Vue test utils

For review team

  • Add changes & docs to release notes draft in Notion

@distantnative distantnative added this to the 6.0.0-alpha.3 milestone Feb 23, 2026
@distantnative distantnative self-assigned this Feb 23, 2026
@distantnative distantnative marked this pull request as ready for review February 23, 2026 11:10
Copy link
Member

@bastianallgeier bastianallgeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. We might want to add a standard test for any unknown attributes to avoid the typical inheritance if the flag isn't set.

@distantnative
Copy link
Member Author

@bastianallgeier I like that. Maybe also if a custom class and style can be added. If we include these in any tests, we can be more explicit about this and catch regressions in that regard (which e.g. happened from Vue 2 to 3).

@distantnative
Copy link
Member Author

@bastianallgeier 😆 none of the components for which this PR has tests does set inheritAttrs: true. So I added other default tests, but all of them accept unknown attributes.

@distantnative distantnative changed the base branch from v6/develop to v6/test/vitest February 23, 2026 18:36
@distantnative distantnative deleted the branch v6/test/vitest February 24, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants