Instructions for usage with Vitest don't work for me #587
Unanswered
FlinnBurgess
asked this question in
Q&A
Replies: 4 comments 1 reply
-
I have the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have a read-through of #567 (comment) it might help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@andykenward I already have my |
Beta Was this translation helpful? Give feedback.
0 replies
-
Got it working on my end. I needed to ensure that our monorepo didn't have conflicting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've been helping my team switch from Jest to Vitest, and I noticed that I was getting a lot of type errors along the lines of
Property toBeInTheDocument does not exist on type JestMatchers<HTMLElement>
. After a little digging I realised I could fix it by replacingwith
in my
vitest.setup.ts
file.This seems be the opposite of the instructions on the npm page, so I'm wondering if this is a side effect of me doing something else wrong?
Beta Was this translation helpful? Give feedback.
All reactions