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

docs: remove test results from Storybook #621

Merged
merged 2 commits into from
Jun 18, 2020
Merged

Conversation

connor-baer
Copy link
Member

Purpose

We currently display the result of all unit tests in Storybook in a tab at the bottom:

Screen Shot 2020-06-18 at 11 11 40

I don't know of anyone who looks at the tab. The tests are always green anyway, since CI wouldn't pass otherwise. So, there doesn't seem to be a use for it.

However, this can lead to confusion for new contributors. Before running yarn start for the first time, it's necessary to run yarn test:output -u to generate the test result file that's read by Storybook. Removing this additional step lowers the barrier for first-time contributors.

Approach and changes

  • remove @storybook/addon-jest addon
  • remove jest parameter from story files

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@connor-baer connor-baer added the 📋 documentation Adds or improves documentation label Jun 18, 2020
@connor-baer connor-baer added this to the v2.0 milestone Jun 18, 2020
@vercel
Copy link

vercel bot commented Jun 18, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/40pgv4ttw
✅ Preview: https://circuit-ui-git-docs-remove-tests.sumup-oss.vercel.app

@connor-baer connor-baer requested a review from hleote June 18, 2020 12:41
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.0.0-beta.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📋 documentation Adds or improves documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants