kettanaito / vite-plugin-rsc-testing
PublicVite plugin for testing React Server Components in Vitest Browser Mode.
A Vite plugin that enables testing React Server Components with full support for async rendering, hydration, and server actions in Vitest browser mode.
How It Works
You're building a web app with smart server features and want to test them just like real users see them in the browser.
You simply add this handy tool to your project setup so your tests can mimic real app behavior.
You tweak your test instructions once to include this tool, making everything ready for browser tests.
You create a simple test that shows a page loading data from afar, and use a special render command to see it live.
You start your tests, and they play out in a browser window, checking if everything looks and works right.
Your app's server features test successfully, giving you confidence that users will have a smooth experience.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.