From e642314ae43627b70e40e4147680cb02481f17ba Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 16 Jan 2020 00:03:37 -0330 Subject: [PATCH] Fix prop types for NetworkDropdown tests (#7837) --- .../components/app/dropdowns/tests/network-dropdown.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/app/components/app/dropdowns/tests/network-dropdown.test.js b/ui/app/components/app/dropdowns/tests/network-dropdown.test.js index 98cba1d2e..ec47bd0de 100644 --- a/ui/app/components/app/dropdowns/tests/network-dropdown.test.js +++ b/ui/app/components/app/dropdowns/tests/network-dropdown.test.js @@ -12,12 +12,13 @@ describe('Network Dropdown', () => { describe('NetworkDropdown in appState in false', () => { const mockState = { metamask: { + network: '1', provider: { type: 'test', }, }, appState: { - networkDropdown: false, + networkDropdownOpen: false, }, } @@ -42,6 +43,7 @@ describe('Network Dropdown', () => { describe('NetworkDropdown in appState is true', () => { const mockState = { metamask: { + network: '1', provider: { 'type': 'test', },