Skip to content

fix: Add props to stubs for built-in components - #1767

Merged
cexbrayat merged 1 commit into
vuejs:mainfrom
wolfgangwalther:props-for-built-in-components
Sep 16, 2022
Merged

cexbrayat merged 1 commit into
vuejs:mainfrom
wolfgangwalther:props-for-built-in-components

Conversation

@wolfgangwalther

Copy link
Copy Markdown
Contributor

The stubs for <transition>, <transition-group> and <teleport> don't have any props defined, which currently makes it impossible to test for those to be set correctly.

Took the props to add from https://vuejs.org/api/built-in-components.html.

@netlify

netlify Bot commented Sep 13, 2022 •

Copy link
Copy Markdown

✅ Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 0de4bb4
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/63204da7c0c566000820fa4f
😎 Deploy Preview https://deploy-preview-1767--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify

netlify Bot commented Sep 13, 2022 •

Copy link
Copy Markdown

✅ Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit a4aa277
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/63237d09f359c100087e4274
😎 Deploy Preview https://deploy-preview-1767--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment thread src/stubs.ts Resolved

@cexbrayat cexbrayat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@freakzlike freakzlike left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work. Thank you 👍

@cexbrayat

Copy link
Copy Markdown
Member

@wolfgangwalther The build is failing. Ping me when you managed to fix it, and I'll merge the PR

Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
@wolfgangwalther

wolfgangwalther commented Sep 15, 2022 •

Copy link
Copy Markdown
Contributor Author

@wolfgangwalther The build is failing. Ping me when you managed to fix it, and I'll merge the PR

@cexbrayat I don't really know typescript. While this should build now, I'm not sure whether that's a proper fix at all.

@cexbrayat

Copy link
Copy Markdown
Member

I'll push an additional commit to slighly refactor. thanks @wolfgangwalther !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants