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:
parent
76a31c3175
commit
e642314ae4
@ -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',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user