Test your server actions, including error paths.
Guides the creation of tests for next-safe-action server actions, middleware, hooks, and error handling.
When to use it
Use when writing tests for next-safe-action actions or hooks.
It changes how the agent writes tests for next-safe-action actions and hooks in the project.
What you provide
The testing patterns work with next-safe-action, including creating clients to test middleware behavior.
The test examples use Vitest's test definitions, assertions, and mocking utilities.
React Testing Library is needed for the hook-testing examples, which use renderHook, act, and waitFor.
No additional actions listed.