1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Fix prop types for NetworkDropdown tests (#7837)

This commit is contained in:
Whymarrh Whitby 2020-01-16 00:03:37 -03:30 committed by GitHub
parent 76a31c3175
commit e642314ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
},