Skip to content

Commit 1de5964

Browse files
committed
formatting
1 parent 85ff03b commit 1de5964

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

__tests__/HTMLView-test.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ describe('<HTMLView/>', () => {
126126
it('can use a custom node class', () => {
127127
class Node extends React.Component {
128128
render() {
129-
return (
130-
<Text {...this.props} selectable={false} />
131-
)
129+
return <Text {...this.props} selectable={false} />;
132130
}
133131
}
134132

@@ -145,9 +143,7 @@ describe('<HTMLView/>', () => {
145143
).toMatchSnapshot();
146144
});
147145

148-
149146
it('can use custom node props', () => {
150-
151147
const htmlContent = `
152148
<div>
153149
<div a="b" />
@@ -156,7 +152,12 @@ describe('<HTMLView/>', () => {
156152

157153
expect(
158154
renderer
159-
.create(<HTMLView value={htmlContent} nodeComponentProps={{selectable: false}} />)
155+
.create(
156+
<HTMLView
157+
value={htmlContent}
158+
nodeComponentProps={{selectable: false}}
159+
/>
160+
)
160161
.toJSON()
161162
).toMatchSnapshot();
162163
});

0 commit comments

Comments
 (0)