summaryrefslogtreecommitdiff
path: root/web-ui/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/test/unit')
-rw-r--r--web-ui/test/unit/account_recovery/page.spec.js7
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', () => {