Skip to content

Improve wrapper.vm as any type casts #2817

Description

@JammingBen

One "downside" of having Vue components written in script setup is that wrapper.vm only knows methods that the components exposed via defineExpose. Since we don't want to do this, we often define wrapper.vm as any in tests. It would be better to trigger the method/property change via DOM interaction (e.g. button click triggers a method).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type:MaintenanceE.g. technical debt, packaging, etc.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions