Hi all,

the main breaking change in jest 29 is the snapshot format. Hopefully it's easy to go back to previous format:

--- a/package.json
+++ b/package.json
@@ -45,5 +45,11 @@
     "jest": "^26.2.2",
     "prettier": "^2.0.5",
     "rollup": "^2.23.1"
   },
+  "jest": {
+     "snapshotFormat": {
+       "escapeString": true,
+       "printBasicPrototype": true
+     }
+  }
 }

See https://jestjs.io/docs/upgrading-to-jest29 for more

--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to