Fix prop types for NetworkDropdown tests (#7837)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 76a31c3175
commit e642314ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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',
},

Loading…
Cancel
Save