We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b0cd4 commit 271803eCopy full SHA for 271803e
test/index.test.js
@@ -148,6 +148,18 @@ describe('trim option', () => {
148
expect(render(reactElement)).toBe(
149
'<table><tbody><tr><td>\n</td></tr></tbody></table>'
150
);
151
+ expect(reactElement).toMatchInlineSnapshot(`
152
+ <table>
153
+ <tbody>
154
+ <tr>
155
+ <td>
156
+
157
158
+ </td>
159
+ </tr>
160
+ </tbody>
161
+ </table>
162
+ `);
163
});
164
165
it('removes whitespace text nodes when enabled', () => {
0 commit comments