Skip to content

wrapper.find() deprecation clarification #1769

Closed
@hewIngram

Description

@hewIngram

Hi all, I was confused by this given the deprecation warnings and wanted to make sure the docs are clear.

As I understand it (mostly from digging through the issues here especially #1498 and #1594) find and findAll are sticking around and we're adding findComponent and findAllComponents` for the specific case where we're finding by component.

If that's the case should we clarify the deprecation warning here to highlight that find is staying? Multiple members of my team read this as "find is being removed and replaced by findComponent".

Screenshot 2021-01-12 at 17 01 11

Affected documentation page: https://vue-test-utils.vuejs.org/api/wrapper/#find

Thanks! Happy to make a tiny PR clarifying

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions