Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
frontendphil committed Feb 3, 2025
1 parent 49fc29f commit 0b20523
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions deployables/app/test-utils/wallet/connectWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ export const connectWallet = async () => {
const config = await getCheckedWagmiConfig()
const connector = getCheckedConnector(config)

connector.uid = 'test-id'

connector.emitter.on('disconnect', () => console.log('DISCONNECT EVENT'))

const connectResult = await connect(config, { connector })

console.log('AFTER CONNET', config.state)

await sleepTillIdle()

return { ...connectResult, connector, config }
Expand Down
4 changes: 0 additions & 4 deletions deployables/app/test-utils/wallet/disconnectWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ import { getCheckedWagmiConfig } from './getCheckedWagmiConfig'
export const disconnectWallet = async () => {
const config = await getCheckedWagmiConfig()

console.log('BEFORE DISCONNECT', config.state)

await disconnect(getWagmiConfig(true), {
connector: getCheckedConnector(config),
})

console.log('AFTER DISCONNECT', config.state)

await sleepTillIdle()
}

0 comments on commit 0b20523

Please sign in to comment.