Skip to content

Commit c7cab84

Browse files
Update fragment test to return fragment (#4)
1 parent 52ef6d1 commit c7cab84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ const multipleComponents = `
8080
const Component2 = () => <span data-component="Component2" />;
8181
`;
8282

83-
const fragmentsWontUpdate = `const Component = () => {
83+
const fragmentsWontUpdate = `const Component = () =>
8484
<>
8585
<a/>
8686
<a/>
8787
<a/>
8888
</>
89-
};`;
89+
;`;
9090

9191
const tests = {
9292
'data-component': {

0 commit comments

Comments
 (0)