summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-01 18:00:08 -0200
committerAnike Arni <aarni@thoughtworks.com>2017-02-01 18:00:08 -0200
commitcaa8a4fcf7bf7ddd1c78f8c4e60088d72cecb717 (patch)
treefcb7bedfff05e08a854629decd36180582cc91c0 /web-ui/app
parent50efd8f59b814bc27e870ff3b09372b0d717b926 (diff)
[#922] Add react tests
with @tayanefernandes
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/js/account_recovery.js3
-rw-r--r--web-ui/app/js/account_recovery/page.js5
2 files changed, 7 insertions, 1 deletions
diff --git a/web-ui/app/js/account_recovery.js b/web-ui/app/js/account_recovery.js
index a136b261..02183574 100644
--- a/web-ui/app/js/account_recovery.js
+++ b/web-ui/app/js/account_recovery.js
@@ -1,7 +1,8 @@
import React from 'react'
import { render } from 'react-dom'
+import Page from 'js/account_recovery/page'
render(
- <h1>Hello, world!</h1>,
+ <Page/>,
document.getElementById('root')
);
diff --git a/web-ui/app/js/account_recovery/page.js b/web-ui/app/js/account_recovery/page.js
new file mode 100644
index 00000000..e400dfae
--- /dev/null
+++ b/web-ui/app/js/account_recovery/page.js
@@ -0,0 +1,5 @@
+import React from 'react'
+
+const Page = () => <h1>Hello world</h1>;
+
+export default Page