For those still suffering with this - I found this answer helped: https://stackoverflow.com/a/64223627/1282432
Use babel for Jest + Babel.config.js + transform + transformIgnorePatterns to ignore crypto-random-string
All of those are needed