From caa8a4fcf7bf7ddd1c78f8c4e60088d72cecb717 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Wed, 1 Feb 2017 18:00:08 -0200 Subject: [#922] Add react tests with @tayanefernandes --- web-ui/app/js/account_recovery.js | 3 ++- web-ui/app/js/account_recovery/page.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 web-ui/app/js/account_recovery/page.js (limited to 'web-ui/app') 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( -

Hello, world!

, + , 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 = () =>

Hello world

; + +export default Page -- cgit v1.2.3