Skip to content

Add support for RSC tests to packages/react #8451

Description

@joshblack

We currently have testing coverage for typical client-driven interactions in the browser. However, it'd be great to use vitest-plugin-rsc and vitest-plugin-rsc/testing-library to allow for RSC testing in the package. This helps to ensure appropriate usage of 'use client' in our components and will also allow us to apply them more granularly than we currently do.

This helps to ensure that components that are imported can be rendered in an RSC-context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    reactstaffAuthor is a staff member

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions