summaryrefslogtreecommitdiff
path: root/cli/tests/047_jsx_test.jsx
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /cli/tests/047_jsx_test.jsx
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/tests/047_jsx_test.jsx')
-rw-r--r--cli/tests/047_jsx_test.jsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/tests/047_jsx_test.jsx b/cli/tests/047_jsx_test.jsx
index 553c4c5a5..61bd7e36c 100644
--- a/cli/tests/047_jsx_test.jsx
+++ b/cli/tests/047_jsx_test.jsx
@@ -1,9 +1,9 @@
const React = {
createElement(factory, props, ...children) {
- return {factory, props, children}
- }
-}
+ return { factory, props, children };
+ },
+};
const View = () => (
<div class="deno">land</div>
-)
-console.log(<View />)
+);
+console.log(<View />);