Amy Blankenship
Jul 21, 2022

--

The facade "uses" Zustand", but you have no guarantee you're using it the way that meets the requirements unless you test it.

Can you give more details of how you'd mock a reference that's being imported directly into your component when you're using it in Storybook? I haven't encountered any information that suggests that's possible.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet