File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 46
46
"chalk" : " ^4.1.0" ,
47
47
"dom-accessibility-api" : " ^0.5.4" ,
48
48
"lz-string" : " ^1.4.4" ,
49
- "pretty-format" : " ^26.6.2 "
49
+ "pretty-format" : " ^27.0.1 "
50
50
},
51
51
"devDependencies" : {
52
52
"@testing-library/jest-dom" : " ^5.11.6" ,
Original file line number Diff line number Diff line change 1
- import prettyFormat from 'pretty-format'
1
+ import { format as prettyFormat , plugins } from 'pretty-format'
2
2
import { getUserCodeFrame } from './get-user-code-frame'
3
3
import { getDocument } from './helpers'
4
4
@@ -21,7 +21,7 @@ const getMaxLength = dom =>
21
21
? 0
22
22
: ( typeof process !== 'undefined' && process . env . DEBUG_PRINT_LIMIT ) || 7000
23
23
24
- const { DOMElement, DOMCollection} = prettyFormat . plugins
24
+ const { DOMElement, DOMCollection} = plugins
25
25
26
26
function prettyDOM ( dom , maxLength , options ) {
27
27
if ( ! dom ) {
You can’t perform that action at this time.
0 commit comments