I have a react app where cookies are encrypted using crypto-js. I am trying to write a unit test (starting with a snapshot) to test the component. I am running into this err