summaryrefslogtreecommitdiff
path: root/cli/tests/046_jsx_test.tsx
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/046_jsx_test.tsx
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/tests/046_jsx_test.tsx')
-rw-r--r--cli/tests/046_jsx_test.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/tests/046_jsx_test.tsx b/cli/tests/046_jsx_test.tsx
index a3df2aad7..857d24d36 100644
--- a/cli/tests/046_jsx_test.tsx
+++ b/cli/tests/046_jsx_test.tsx
@@ -5,10 +5,10 @@ declare namespace JSX {
}
const React = {
createElement(factory: any, props: any, ...children: any[]) {
- return {factory, props, children}
- }
-}
+ return { factory, props, children };
+ },
+};
const View = () => (
<div class="deno">land</div>
-)
-console.log(<View />)
+);
+console.log(<View />);