Skip to content

Commit

Permalink
fix(wrangler): Make jest inline snapshots work with prettier 3 (#5851)
Browse files Browse the repository at this point in the history
Jest inline snapshots do not work with prettier verision `3`.
For more details please refer to
jestjs/jest#14305.

This commit fixes that by applying the recommended fix as per
GitHub issue thread above.

Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com>
  • Loading branch information
CarmenPopoviciu and CarmenPopoviciu committed May 16, 2024
1 parent a87bdfd commit 95a1fa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
}
},
"prettierPath": null
},
"dependencies": {
"@cloudflare/kv-asset-handler": "workspace:*",
Expand Down

0 comments on commit 95a1fa1

Please sign in to comment.