diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-07 19:46:45 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 13:51:36 -0200 |
commit | 7f76c79319bf0817222fc88011fd870d97648963 (patch) | |
tree | 0931901230ed645e8a6d7d17081e1769392ec928 /web-ui/test | |
parent | a1c384cebd80e177389ef79c2de6400db986aaa6 (diff) |
[#922] Adds eslint for react and es6 files
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/unit/account_recovery/page.spec.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web-ui/test/unit/account_recovery/page.spec.js b/web-ui/test/unit/account_recovery/page.spec.js index 590d1de8..ec9fb844 100644 --- a/web-ui/test/unit/account_recovery/page.spec.js +++ b/web-ui/test/unit/account_recovery/page.spec.js @@ -4,11 +4,12 @@ import React from 'react' import { Page } from 'src/account_recovery/page' describe('Page', () => { - let mockT, page + let mockT + let page beforeEach(() => { - mockT = (key) => (key) - page = shallow(<Page t={mockT}/>) + mockT = key => key + page = shallow(<Page t={mockT} />) }) it('renders backup email page title', () => { |