Skip to content

template fails to re-render when ref value is changed under test when using vue@2.7.3 #1982

Open
@admhpr

Description

@admhpr

Subject of the issue

template fails to re-render when ref value is changed under test when using vue@2.7.3

template does update with user interaction in browser.

elements using v-if directive fail to re-render when predicate value changes during unit testing.

Steps to reproduce

https://codesandbox.io/s/fervent-tdd-fijnxf

run npm run test

Expected behaviour

template is re-rendered and relevant elements found using wrapper.find/wrapper.findAll

Actual behaviour

no change in template

Possible Solution

?

much appreciated!

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