8000 Can't find functional component with shallowMount · Issue #1813 · vuejs/vue-test-utils · GitHub
[go: up one dir, main page]

Skip to content
Can't find functional component with shallowMount #1813
Closed
@Djaler

Description

@Djaler

Subject of the issue

If I mount my component using shallowMount, I can't find functional components inside it.

Steps to reproduce

https://github.com/Djaler/vue-test-utils-functional-components-shallow-mount

  1. Clone repo and install dependencies (npm install)
  2. Run tests (npm run test)

Expected behaviour

Icon component should be found and both tests should pass

Actual behaviour

Icon component not found in both cases

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

      0