Skip to content

Create stub name using tag #765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lambdalisue opened this issue Jun 27, 2018 · 2 comments
Closed

Create stub name using tag #765

lambdalisue opened this issue Jun 27, 2018 · 2 comments

Comments

@lambdalisue
Copy link

Version

1.0.0-beta.20

Reproduction link

https://codesandbox.io/s/zk6k1yl76m

Steps to reproduce

When a child component has a name, it seems a given custom tag name is ignored. I think the stub name should be quite similar to a given custom tag name.

What is expected?

A tag name of a stub for MaterialIconView in TestComponent is x-material-icon-stub

What is actually happening?

The tag name is materialiconview-stub

@lambdalisue
Copy link
Author

it's not same issue but it seems the custom attribute is missing in the stub component in the linked example.

@eddyerburgh eddyerburgh changed the title stub components by shallowMount has an invalid name Create stub name using tag Jul 29, 2018
@ebisbe
Copy link
Collaborator

ebisbe commented Feb 15, 2023

#1564 (comment)

@ebisbe ebisbe closed this as completed Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants