这是indexloc提供的服务,不要输入任何密码
Skip to content

docs: upgrades for Vitest doc and add with-vitest example #10063

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

Merged
merged 8 commits into from
Mar 4, 2025
Merged

Conversation

anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Feb 28, 2025

Description

Some iterations for our Vitest documentation:

  • Made it clearer that this document is for interactions of Vitest and Turborepo, not just "Vitest in monorepos"
  • Fixed commands that were wrong
  • A new with-vitest example
  • A section on merged coverage reports
  • Other minor wording fixes

Closes #4517

Reviewer note

The example does exactly one thing that I don't love, in that it doesn't have dependencies between turbo run test and the set of tasks that do the merging/reporting of coverage after that. This means you have to do turbo run test && whatever-else rather than a singular turbo command.

I don't know if there's a great way to model this in our DSL right now, so I left it out. Ultimately, running turbo run test && ... isn't too big of a deal, right?...Right?

Testing Instructions

👀

@anthonyshew anthonyshew requested a review from a team as a code owner February 28, 2025 20:49
@turbo-orchestrator turbo-orchestrator bot added the area: docs Improvements or additions to documentation label Feb 28, 2025
Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 6:48pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation area: examples Improvements or additions to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update testing docs for new vitest workspace syntax and merged coverage
2 participants