|
|
@ -12,12 +12,13 @@ describe('Network Dropdown', () => { |
|
|
|
describe('NetworkDropdown in appState in false', () => { |
|
|
|
describe('NetworkDropdown in appState in false', () => { |
|
|
|
const mockState = { |
|
|
|
const mockState = { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
|
|
|
|
|
network: '1', |
|
|
|
provider: { |
|
|
|
provider: { |
|
|
|
type: 'test', |
|
|
|
type: 'test', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
appState: { |
|
|
|
appState: { |
|
|
|
networkDropdown: false, |
|
|
|
networkDropdownOpen: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -42,6 +43,7 @@ describe('Network Dropdown', () => { |
|
|
|
describe('NetworkDropdown in appState is true', () => { |
|
|
|
describe('NetworkDropdown in appState is true', () => { |
|
|
|
const mockState = { |
|
|
|
const mockState = { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
|
|
|
|
|
network: '1', |
|
|
|
provider: { |
|
|
|
provider: { |
|
|
|
'type': 'test', |
|
|
|
'type': 'test', |
|
|
|
}, |
|
|
|
}, |
|
|
|