Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deprecated error message #2101

@thevladisss

Description

@thevladisss

Subject of the issue

When attempting to run ".trigger("input", { target: {} }", it errors out with as expected, because we cannot stub target, however the message still references the old documentation and reads:

Error: [vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details-https://vue-test-utils.vuejs.org/api/wrapper/trigger.html"

Expected behaviour

Should be referencing old documentation website "https://v1.test-utils.vuejs.org/api/wrapper/trigger.html"

What should happen?

Actual behaviour

References nonexistent link

Possible Solution

Update depreacted error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions