Skip to content

Shallow mount drops attributes on stubbed components #1377

Closed
@Stoom

Description

@Stoom

Version

1.0.0-beta.30

Reproduction link

https://github.com/Stoom/vuetify-test-utils-beta30-example

Steps to reproduce

  • Create new project
  • Add vuetify
  • Use a vuetify component like v-tooltip
  • Stub out to get scoped slot
  • Assert an attribute is on the stubbed element

What is expected?

It to copy over the current attributes

What is actually happening?

custom prop attributes are lost


This works on beta28 but broke in beta29 and beta30

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions