Skip to content

Commit d05d956

Browse files
fix: tests
1 parent f66f3af commit d05d956

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

app/components/UI/Bridge/components/BatchSellDestinationTokenSelectorModal/BatchSellDestinationTokenSelectorModal.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const mockGoBack = jest.fn();
1212
const mockOnCloseBottomSheet = jest.fn();
1313
const usdcAssetId =
1414
'eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' as CaipAssetType;
15-
const musdAssetId =
16-
'eip155:1/erc20:0xaca92e438df0b2401ff60da7e4337b687a2435da' as CaipAssetType;
15+
const usdtAssetId =
16+
'eip155:1/erc20:0xdac17f958d2ee523a2206206994597c13d831ec7' as CaipAssetType;
1717
const mockSourceToken: BridgeToken = {
1818
address: '0x1111111111111111111111111111111111111111',
1919
chainId: '0x1' as Hex,
@@ -145,10 +145,10 @@ jest.mock('react-redux', () => ({
145145
describe('BatchSellDestinationTokenSelectorModal', () => {
146146
beforeEach(() => {
147147
jest.clearAllMocks();
148-
mockSelectedDestinationToken = BridgeTokenMetadata[musdAssetId];
148+
mockSelectedDestinationToken = BridgeTokenMetadata[usdtAssetId];
149149
mockDestinationStablecoins = [
150150
BridgeTokenMetadata[usdcAssetId],
151-
BridgeTokenMetadata[musdAssetId],
151+
BridgeTokenMetadata[usdtAssetId],
152152
];
153153
mockBalancesByAssetId = {};
154154
});
@@ -163,7 +163,7 @@ describe('BatchSellDestinationTokenSelectorModal', () => {
163163
).toBeOnTheScreen();
164164
expect(getByText('Select a stablecoin')).toBeOnTheScreen();
165165
expect(getByText('USDC')).toBeOnTheScreen();
166-
expect(getByText('MUSD')).toBeOnTheScreen();
166+
expect(getByText('USDT')).toBeOnTheScreen();
167167
});
168168

169169
it('renders the stablecoin fiat value from wallet balances', () => {
@@ -193,7 +193,7 @@ describe('BatchSellDestinationTokenSelectorModal', () => {
193193
const { getByTestId } = render(<BatchSellDestinationTokenSelectorModal />);
194194

195195
const selectedRow = getByTestId(
196-
`${BatchSellDestinationTokenSelectorModalSelectorsIDs.TOKEN_ROW}-0x1:0xaca92e438df0b2401ff60da7e4337b687a2435da`,
196+
`${BatchSellDestinationTokenSelectorModalSelectorsIDs.TOKEN_ROW}-0x1:0xdac17f958d2ee523a2206206994597c13d831ec7`,
197197
);
198198

199199
expect(selectedRow.props.style).toContain('bg-muted');

0 commit comments

Comments
 (0)