summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/account_recovery/account_recovery.spec.js
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-03 14:12:46 -0200
committerAnike Arni <aarni@thoughtworks.com>2017-02-03 14:14:29 -0200
commit2a0c02295ac6b3a21047e08a0174361003f02736 (patch)
tree2b76bc62af2e3930e624957ee9b05383db934810 /web-ui/test/spec/account_recovery/account_recovery.spec.js
parent16ce2be7e2a7496cedfe74bf27c72878941072cf (diff)
[#922] Move new js tests to mocha
We decided to move to mocha because it has more support for node testing with webpack (no need for browser). Since we're moving to React, we don't need the browser for our unit tests. With @tayanefernandes
Diffstat (limited to 'web-ui/test/spec/account_recovery/account_recovery.spec.js')
-rw-r--r--web-ui/test/spec/account_recovery/account_recovery.spec.js3
1 files changed, 2 insertions, 1 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
index d153f0eb..eaff257b 100644
--- a/web-ui/test/spec/account_recovery/account_recovery.spec.js
+++ b/web-ui/test/spec/account_recovery/account_recovery.spec.js
@@ -1,4 +1,5 @@
import {shallow} from 'enzyme'
+import expect from 'expect'
import React from 'react'
import Page from '../../../app/js/account_recovery/page'
@@ -6,6 +7,6 @@ describe('test', () => {
'use strict';
it('react', () => {
const page = shallow(<Page />);
- expect(page.find('h1').text()).toEqual('Hello world');
+ expect(page.find('h1').text()).toEqual('E se vocĂȘ esquecer sua senha?');
});
});