Closed PaulCouthouis closed 3 years ago
My jest test is OK when I launch the command but I have an error with Wallaby on Visual Studio Code
Can you please describe how you are starting jest
? If you run npx jest
from your project root, does it work for you?
Yes it work. I have the same problem with this simple code:
ps: anyway, I like your tool, it's amazing
We're not sure why this is failing in Wallaby and not when you run Jest from the CLI but we have found this:
https://github.com/facebook/fbjs/issues/441
The open pull request mentioned in the issue says:
This change is required to use the
react-native
preset in jest 27: https://github.com/reduxjs/react-redux/pull/1733/checks?check_run_id=2820313064#step:6:25
We're continuing to investigate and will post an update when we have more information to share.
We believe that we have now fixed your problem.
Please update to the latest version of Wallaby core, v1.0.1109
; this version should fix your problem.
Issue description or question
I use expo for ReactNative. My jest test is OK when I launch the command but I have an error with Wallaby on Visual Studio Code
import { AntDesign } from "@expo/vector-icons";
Cannot destructure property 'instrument' of 'options' as it is undefined.Wallaby diagnostics report