File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,31 @@ it('TextareaCodeEditor language="html"', async () => {
6363 }
6464 if ( child . type === 'div' ) {
6565 expect ( child . props . style ) . toEqual ( {
66+ background : 'none' ,
67+ border : 0 ,
68+ boxSizing : 'inherit' ,
69+ display : 'inherit' ,
70+ fontFamily : 'inherit' ,
71+ fontSize : 'inherit' ,
72+ fontStyle : 'inherit' ,
73+ fontVariantLigatures : 'inherit' ,
74+ fontWeight : 'inherit' ,
75+ letterSpacing : 'inherit' ,
76+ lineHeight : 'inherit' ,
77+ margin : 0 ,
78+ minHeight : 16 ,
79+ outline : 0 ,
80+ overflowWrap : 'break-word' ,
6681 paddingTop : 10 ,
6782 paddingRight : 10 ,
6883 paddingBottom : 10 ,
6984 paddingLeft : 10 ,
85+ tabSize : 'inherit' ,
86+ textIndent : 'inherit' ,
87+ textRendering : 'inherit' ,
88+ textTransform : 'inherit' ,
89+ whiteSpace : 'pre-wrap' ,
90+ wordBreak : 'keep-all' ,
7091 } ) ;
7192 expect ( child . props . className ) . toEqual ( 'w-tc-editor-preview language-html' ) ;
7293 expect ( typeof child . props . dangerouslySetInnerHTML ) . toEqual ( 'object' ) ;
You can’t perform that action at this time.
0 commit comments