Skip to content

Commit

Permalink
chore: fix useOrdersTableTokenApprove test
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Jan 24, 2025
1 parent d601787 commit 60583be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { WETH_SEPOLIA } from '@cowprotocol/common-const'

import { renderHook } from '@testing-library/react'

import { useTradeApproveCallback } from 'common/containers/TradeApprove'
import { useApproveCurrency } from 'common/hooks/useApproveCurrency'

import { useOrdersTableTokenApprove } from './useOrdersTableTokenApprove'

jest.mock('common/containers/TradeApprove')
jest.mock('common/hooks/useApproveCurrency')

const mockUseTradeApproveCallback = useTradeApproveCallback as jest.MockedFunction<typeof useTradeApproveCallback>
const mockUseTradeApproveCallback = useApproveCurrency as jest.MockedFunction<typeof useApproveCurrency>
const tradeApproveCallbackMock = jest.fn().mockImplementation(() => Promise.resolve(undefined))

describe('useOrdersTableTokenApprove()', () => {
Expand Down
2 changes: 0 additions & 2 deletions libs/common-const/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,6 @@ export const STABLECOINS: Record<ChainId, Set<string>> = {
[SupportedChainId.BASE]: new Set(BASE_STABLECOINS),
}

console.debug('STABLECOINS', STABLECOINS)

/**
* Addresses related to COW vesting for Locked GNO
* These are used in src/custom/pages/Account/LockedGnoVesting hooks and index files
Expand Down

0 comments on commit 60583be

Please sign in to comment.