Skip to content

Commit

Permalink
fix: test types
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Dec 10, 2024
1 parent 7bdd175 commit c9a1c60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/core/EVM/getAllowance.int.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ChainId, CoinKey } from '@lifi/types'
import type { Address } from 'viem'
import { beforeAll, describe, expect, it } from 'vitest'
import { setupTestEnvironment } from '../../../tests/setup.js'
import { findDefaultToken } from '../../../tests/tokens.js'
Expand Down Expand Up @@ -33,7 +34,7 @@ describe('allowance integration tests', () => {
async () => {
const allowance = await getAllowance(
memeToken.chainId,
memeToken.address,
memeToken.address as Address,
defaultWalletAddress,
defaultSpenderAddress
)
Expand All @@ -50,7 +51,7 @@ describe('allowance integration tests', () => {

const allowance = await getAllowance(
token.chainId,
token.address,
token.address as Address,
defaultWalletAddress,
defaultSpenderAddress
)
Expand All @@ -68,7 +69,7 @@ describe('allowance integration tests', () => {

const allowance = await getAllowance(
invalidToken.chainId,
invalidToken.address,
invalidToken.address as Address,
defaultWalletAddress,
defaultSpenderAddress
)
Expand Down

0 comments on commit c9a1c60

Please sign in to comment.