summaryrefslogtreecommitdiff
path: root/web-ui/test/spec
diff options
context:
space:
mode:
authorAnike Arni <anikarni@gmail.com>2017-02-02 18:14:53 -0200
committerGitHub <noreply@github.com>2017-02-02 18:14:53 -0200
commit84c5fc7871206c74bb50df2f618992b0d57ca397 (patch)
treefb148b22b2c6c1ca7cc30c5acc83d781704ade87 /web-ui/test/spec
parent98abd30f1ecf7c8d6ef3d5ecce90396a2868a1fc (diff)
parent1a37dcd2dc8a02eda2a0cc3f90521b0ebc1c9198 (diff)
Merge pull request #958 from pixelated/backup-email-page
Adding react initial configuration
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r--web-ui/test/spec/account_recovery/account_recovery.spec.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/web-ui/test/spec/account_recovery/account_recovery.spec.js b/web-ui/test/spec/account_recovery/account_recovery.spec.js
new file mode 100644
index 00000000..d153f0eb
--- /dev/null
+++ b/web-ui/test/spec/account_recovery/account_recovery.spec.js
@@ -0,0 +1,11 @@
+import {shallow} from 'enzyme'
+import React from 'react'
+import Page from '../../../app/js/account_recovery/page'
+
+describe('test', () => {
+ 'use strict';
+ it('react', () => {
+ const page = shallow(<Page />);
+ expect(page.find('h1').text()).toEqual('Hello world');
+ });
+});