Replies: 1 comment 2 replies
-
There are plenty of circular dependencies caused by those files. They all end up importing each other. I would recommend to try to refactor the code so that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我使用React + Zustand,并且使用了Slices pattern。当我运行测试时,会提示TypeError: **** not a function。我保证这个函数绝对是存在且有效的,这个问题困扰了我好几天了,导致我现在关于zustand store部分的测试都不能运行。
这里是一个最小的运行示例
I use React + Zustand, and I use Slices pattern. When I run the test, I get TypeError: **** not a function. I guarantee that this function absolutely exists and works, and this problem has been bothering me for several days, causing my current tests on zustand store to fail.
Here is a minimal example in action
Beta Was this translation helpful? Give feedback.
All reactions