Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Nov 25, 2024
1 parent bdd936b commit b78ae37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/experimental/createArbitrumClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ArbitrumClients = {
parentPublicClient: PublicClient
childPublicClient: PublicClient & ArbitrumDepositActions
parentWalletClient: WalletClient & ArbitrumParentWalletActions
childWalletClient: WalletClient
childWalletClient?: WalletClient
}

export type CreateArbitrumClientParams = {
Expand All @@ -25,7 +25,7 @@ export type CreateArbitrumClientParams = {
parentRpcUrl?: string
childRpcUrl?: string
parentWalletClient: WalletClient
childWalletClient: WalletClient
childWalletClient?: WalletClient
}

export function createArbitrumClient({
Expand Down
5 changes: 4 additions & 1 deletion tests/integration/arbitrumDepositActions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ import {
describe('arbitrumDepositActions', function () {
let localEthChain: Chain
let localArbChain: Chain
let setup: Awaited<ReturnType<typeof testSetup>>

before(async function () {
const setup = await testSetup()
setup = await testSetup()
localEthChain = setup.localEthChain
localArbChain = setup.localArbChain
})

beforeEach(async function () {
await fundParentSigner(setup.parentSigner)
if (isArbitrumNetworkWithCustomFeeToken()) {
await fundParentCustomFeeToken(setup.parentSigner)
Expand Down

0 comments on commit b78ae37

Please sign in to comment.