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/test/spec/account_recovery/account_recovery.spec.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web-ui/test/spec/account_recovery/account_recovery.spec.js (limited to 'web-ui/test/spec') 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(); + expect(page.find('h1').text()).toEqual('Hello world'); + }); +}); -- cgit v1.2.3