Skip to content

Commit b3c26f5

Browse files
committed
fix(auto-effect-test): fix a linter related testing issue
1 parent bc7b862 commit b3c26f5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"react/destructuring-assignment": "off",
1616
"react/state-in-constructor": "off",
1717
"react/jsx-props-no-spreading": "off",
18-
"react/prop-types": "off"
18+
"react/prop-types": "off",
19+
"react/jsx-one-expression-per-line": "off"
1920
},
2021
"globals": {
2122
"window": true,

__tests__/autoEffect.test.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ describe.only('autoEffect', () => {
7272
}, [name]);
7373
return (
7474
<div>
75-
{name}
76-
{app.name}
75+
{name} {app.name}
7776
</div>
7877
);
7978
});

0 commit comments

Comments
 (0)