Skip to content

Bug: use composition API in vue2.7 wrapper undefined #2553

@karlsbeard

Description

@karlsbeard

Describe the bug

I am experiencing an issue where the wrapper cannot be instantiated in my current testing environment. I use Vue 2.7 with the Composition API and the <script setup> syntax. I want guidance on how to use @vue/test-utils to test components under these conditions effectively.

To Reproduce

will add the link later

Expected behavior

shallowMount or mount can be use correctly

Related information:

vue version: vue2.7.x
vue/test-utils: 1.x
components: ant-design-vue 1.x

Additional context

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