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

chore: cleaning up test for ViewReport.cy.tsx #1123

Merged
merged 1 commit into from
Apr 10, 2022

Conversation

JessicaSachs
Copy link
Contributor

This PR cleans up the tests for ViewReport.cy.tsx and begins to add faker in for more realistic test data.

There is one loss of coverage: we no longer check that a b tag is the element used in the DOM. For this, we should be using Percy for making sure that the styles are correct. Percy has a free, open-source plan.

@netlify
Copy link

netlify bot commented Apr 8, 2022

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 7724965
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/624fa4b2dfd2b80008cf129f
😎 Deploy Preview https://deploy-preview-1123--vitest-dev.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.

@userquin
Copy link
Member

userquin commented Apr 8, 2022

@JessicaSachs LGTM (aha faker in action, cool), but we need also the same for ansi colored tests, the original PR was to include the support via ansi-to-html dep, maybe we can add it later using changes in this PR.

@antfu antfu merged commit e6fd661 into vitest-dev:main Apr 10, 2022
@antfu
Copy link
Member

antfu commented Apr 10, 2022

@userquin want to send another PR for your changes?

chaii3 pushed a commit to chaii3/vitest that referenced this pull request May 13, 2022
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.

None yet

3 participants