Mock网页地址中使用 jest-location-mock 报错 #49
Answered
by
unknowntocka
unknowntocka
asked this question in
Q&A
-
使用jest-location-mock包后三个文件test过程中都会报ReferenceError: expect is not defined的错误导致不通过 |
Beta Was this translation helpful? Give feedback.
Answered by
unknowntocka
Oct 12, 2022
Replies: 1 comment
-
我是啥b 前文写的要写在setup文件路径要写在setupFilesAfterEnv里 我写错位置了 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
unknowntocka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我是啥b 前文写的要写在setup文件路径要写在setupFilesAfterEnv里 我写错位置了