diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-08-04 23:17:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 23:17:32 -0400 |
commit | 299c7cfe54cb184e0d0c18b00a154c953b433ebf (patch) | |
tree | 2365d59cae5e8f6be54689cf7aee1514ca7e7825 /cli/tests/047_jsx_test.jsx | |
parent | fcaf8cd8e37459658a6c06d7e16b3adc9436a135 (diff) |
feat(fmt): format top-level JSX elements/fragments with parens when multi-line (#11582)
Diffstat (limited to 'cli/tests/047_jsx_test.jsx')
-rw-r--r-- | cli/tests/047_jsx_test.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/047_jsx_test.jsx b/cli/tests/047_jsx_test.jsx index 61bd7e36c..4c2314072 100644 --- a/cli/tests/047_jsx_test.jsx +++ b/cli/tests/047_jsx_test.jsx @@ -3,7 +3,5 @@ const React = { return { factory, props, children }; }, }; -const View = () => ( - <div class="deno">land</div> -); +const View = () => <div class="deno">land</div>; console.log(<View />); |