File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 3636 " types"
3737 ],
3838 "scripts" : {
39- "pretest" : " yarn link && yarn link \" @pmmmwh/react-refresh-webpack-plugin\" " ,
39+ "pretest" : " patch-package && yarn link && yarn link \" @pmmmwh/react-refresh-webpack-plugin\" " ,
4040 "posttest" : " yarn unlink \" @pmmmwh/react-refresh-webpack-plugin\" " ,
4141 "test" : " node scripts/test.js" ,
4242 "lint" : " eslint --report-unused-disable-directives --ext .js ." ,
7676 "jest-watch-typeahead" : " ^0.6.0" ,
7777 "memfs" : " ^3.2.0" ,
7878 "nanoid" : " ^3.1.10" ,
79+ "patch-package" : " ^6.2.2" ,
7980 "prettier" : " ^2.0.5" ,
8081 "puppeteer" : " ^3.3.0" ,
8182 "react-refresh" : " ^0.8.3" ,
Original file line number Diff line number Diff line change 1+ diff --git a/node_modules/jest-snapshot/build/index.js b/node_modules/jest-snapshot/build/index.js
2+ index 9094081..db825d4 100644
3+ --- a/node_modules/jest-snapshot/build/index.js
4+ +++ b/node_modules/jest-snapshot/build/index.js
5+ @@ -504,7 +504,10 @@ const toThrowErrorMatchingInlineSnapshot = function (
6+ return _toThrowErrorMatchingSnapshot(
7+ {
8+ context: this,
9+ - inlineSnapshot,
10+ + inlineSnapshot:
11+ + inlineSnapshot !== undefined
12+ + ? stripAddedIndentation(inlineSnapshot)
13+ + : undefined,
14+ isInline: true,
15+ matcherName,
16+ received
You can’t perform that action at this time.
0 commit comments