Skip to content

Commit

Permalink
fix: switchNetwork params
Browse files Browse the repository at this point in the history
  • Loading branch information
matstyler committed Aug 20, 2024
1 parent e4e024f commit 51e7201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wallets/metamask/src/cypress/MetaMask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class MetaMask {

async switchNetwork({
networkName,
isTestnet
isTestnet = false
}: {
networkName: string
isTestnet?: boolean
Expand Down
2 changes: 1 addition & 1 deletion wallets/metamask/src/cypress/configureSynpress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function configureSynpress(on: Cypress.PluginEvents, config: Cypr
getNetwork: () => metamask?.getNetwork(),
switchNetwork: ({
networkName,
isTestnet
isTestnet = false
}: {
networkName: string
isTestnet?: boolean
Expand Down

0 comments on commit 51e7201

Please sign in to comment.