File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,7 @@ describe('<HTMLView/>', () => {
126
126
it ( 'can use a custom node class' , ( ) => {
127
127
class Node extends React . Component {
128
128
render ( ) {
129
- return (
130
- < Text { ...this . props } selectable = { false } />
131
- )
129
+ return < Text { ...this . props } selectable = { false } /> ;
132
130
}
133
131
}
134
132
@@ -145,9 +143,7 @@ describe('<HTMLView/>', () => {
145
143
) . toMatchSnapshot ( ) ;
146
144
} ) ;
147
145
148
-
149
146
it ( 'can use custom node props' , ( ) => {
150
-
151
147
const htmlContent = `
152
148
<div>
153
149
<div a="b" />
@@ -156,7 +152,12 @@ describe('<HTMLView/>', () => {
156
152
157
153
expect (
158
154
renderer
159
- . create ( < HTMLView value = { htmlContent } nodeComponentProps = { { selectable : false } } /> )
155
+ . create (
156
+ < HTMLView
157
+ value = { htmlContent }
158
+ nodeComponentProps = { { selectable : false } }
159
+ />
160
+ )
160
161
. toJSON ( )
161
162
) . toMatchSnapshot ( ) ;
162
163
} ) ;
You can’t perform that action at this time.
0 commit comments