From 7f76c79319bf0817222fc88011fd870d97648963 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 7 Feb 2017 19:46:45 -0200 Subject: [#922] Adds eslint for react and es6 files --- web-ui/test/unit/account_recovery/page.spec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'web-ui/test/unit') 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() + mockT = key => key + page = shallow() }) it('renders backup email page title', () => { -- cgit v1.2.3