aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-header/tests/send-header-container.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/send_/send-header/tests/send-header-container.test.js')
-rw-r--r--ui/app/components/send_/send-header/tests/send-header-container.test.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/components/send_/send-header/tests/send-header-container.test.js b/ui/app/components/send_/send-header/tests/send-header-container.test.js
index abce9af6b..41a7e8a89 100644
--- a/ui/app/components/send_/send-header/tests/send-header-container.test.js
+++ b/ui/app/components/send_/send-header/tests/send-header-container.test.js
@@ -18,7 +18,10 @@ proxyquire('../send-header.container.js', {
},
},
'../../../actions': actionSpies,
- '../../../selectors': { getSelectedToken: (s) => `mockSelectedToken:${s}` },
+ './send-header.selectors': {
+ getTitleKey: (s) => `mockTitleKey:${s}`,
+ getSubtitleParams: (s) => `mockSubtitleParams:${s}`,
+ },
})
describe('send-header container', () => {
@@ -27,7 +30,8 @@ describe('send-header container', () => {
it('should map the correct properties to props', () => {
assert.deepEqual(mapStateToProps('mockState'), {
- isToken: true,
+ titleKey: 'mockTitleKey:mockState',
+ subtitleParams: 'mockSubtitleParams:mockState',
})
})