Skip to content

TypeError: Cannot read property 'devtoolsRawSetupState' of undefined #1329

Closed
@jonsalvas

Description

@jonsalvas

Vue Version: 3.2.31
Test-Utils: 2.0.0-rc.18

When upgrading from vue from 3.2.24 to 3.2.25 all our tests fail with the following error:

TypeError: Cannot read property 'devtoolsRawSetupState' of undefined

This is thrown when trying to call .findComponent on a mounted component using ref:
wrapper.findComponent({ref: ".."})

Seems that we were not alone with this issue:
vuejs/vue-test-utils#1962

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions