zustandjs / zustand-slices

A slice utility for Zustand
MIT License
137 stars 6 forks source link

Add basic tests for component that utilizes new `withActions` #12

Closed grigorischristainas closed 2 months ago

grigorischristainas commented 2 months ago

Added some basic tests for new withActions, similarly to existing component ones. Moreover, I moved the createZustandContext function to a reusable test util. Maybe we could also make the test components Counter, Text, etc. reusable too.