mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
Add comprehensive guidance for testing components that use Zustand stores, following the official Zustand testing guide. The key principle is to use real stores with setState() instead of manually mocking store modules, as the global zustand mock already provides proper test isolation.