Jest is picking up an old version of a package and thus my tests fail unless I use --no-cache
. I can even delete the package folder from folder node_modules
and Jest is happy to run the tests (almost all are passing).
So how do I clear the Jest cache?