This PR fixes an error we're receiving about updating our jest to the latest version. But in the newest version of Jest (29.X) they have changed the way snapshot format's work and have deprecated support for Node 12. In order to maintain backwards compatibility a few extra parameters were added to our jest config. I also changed our circle ci node docker image to use node 14. Node 12 is EOL and is no longer supported by Jest.
These changes should not impact the actual behavior of the npm package.
This PR fixes an error we're receiving about updating our jest to the latest version. But in the newest version of Jest (29.X) they have changed the way snapshot format's work and have deprecated support for Node 12. In order to maintain backwards compatibility a few extra parameters were added to our jest config. I also changed our circle ci node docker image to use node 14. Node 12 is EOL and is no longer supported by Jest.
These changes should not impact the actual behavior of the npm package.
read about snapshot format changes: https://jestjs.io/docs/29.0/upgrading-to-jest29#snapshot-format
more info on the new circle ci docker images: https://circleci.com/developer/images/image/cimg/node#image-name
more info on jest 29 breaking changes here: https://jestjs.io/blog/2022/08/25/jest-29