-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jest 多个Effect的时候报错 #146
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
主要代码:
jest代码:
发现只要写多个
useEffect
, 然后进行单元测试就会报错,错误信息是ReferenceError: Taro is not defined
版本:
请问这个问题如何解决呢?
The text was updated successfully, but these errors were encountered: