Skip to content
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

Addon-docs/Vue: Add tests for sourceDecorator vnodeToString #17764

Merged
merged 2 commits into from Mar 21, 2022

Conversation

Pepijnk12
Copy link
Contributor

Issue: Vue sourceDecorator vnodeToString has 3 branches that are not covered by tests

What I did

Added three tests to cover the untested branches in Vue sourceDecorator vnodeToString

How to test

Testable by running the tests in app/vue/src/client/docs/sourceDecorator.test.ts with jest --coverage

@nx-cloud
Copy link

nx-cloud bot commented Mar 20, 2022

☁️ Nx Cloud Report

CI ran the following commands for commit c3fdc05. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@MichaelArestad MichaelArestad assigned ndelangen and shilman and unassigned ndelangen Mar 21, 2022
@MichaelArestad MichaelArestad added the maintenance User-facing maintenance tasks label Mar 21, 2022
@shilman shilman changed the title Add tests for untested branches in Vue sourceDecorator vnodeToString Addon-docs/Vue: Add tests for sourceDecorator vnodeToString Mar 21, 2022
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM!

@shilman shilman merged commit 521cc79 into storybookjs:next Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: docs maintenance User-facing maintenance tasks vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants