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

Update testing docs for new vitest workspace syntax and merged coverage #4517

@mikecousins

Description

@mikecousins

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

In 0.30.0 vitest has added first class support for monorepos.
https://twitter.com/vitest_dev/status/1645071039003590656

The syntax is documented here:
https://vitest.dev/guide/workspace.html

The current documentation doesn't reflect the new syntax.

Describe the solution you'd like

It would be great to update the documentation with best practices for how to define the workspace file, migrate to the new project config files, run tests and report shared coverage, etc.

Describe alternatives you've considered

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions