Open danawoodman opened 3 years ago
hmmm... a few things to check...
--updateSnapshot
flag... can you turn on the debug mode then open the developer console to see if the command line contains the flag. --updateSnapshot
, does it update the snapshots?
Environment
node -v
: v14.1.0npm -v
: 6.14.4 (we use yarn: 1.22.4)npm ls jest
ornpm ls react-scripts
(if you haven’t ejected): jest@26.6.3your vscode-jest settings if customized:
jest
on the command line works as does hittingu
to update. Only other thing I can think is I'm using multipleprojects
in my Jest config.Operating system: macOs Catalina 10.15.7 (19H15)
Prerequisite
npm run test
ornode_modules/.bin/jest
) we usenps
to run tests butjest
on its own works tooSteps to Reproduce
I'm not sure how to repro. I installed extension, added the config (below) as recommended and ran my tests. The snapshots are out of date and I see a message to update them but clicking does not update them.
Relevant Debug Info
Not sure what else I can provide to be helpful.
Expected Behavior
Should update snapshots
Actual Behavior
Not updating snapshots