Math.random() as a deterministic jest mock function
github.com/peoplenarthax/jest-mock-random
peoplenarthax/jest-mock-random