Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEBREL]/Mitra/WEBREL-2753/ Remove the cryptocurrencies subheader #15312

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('<CurrencySelector/>', () => {
expect(screen.getByRole('radio', { name: /us dollar \(usd\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /euro \(eur\)/i })).toBeInTheDocument();

expect(screen.getByRole('heading', { name: /cryptocurrencies/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /tether erc20 \(eusdt\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /usd coin \(usdc\)/i })).toBeInTheDocument();

Expand Down Expand Up @@ -348,7 +347,6 @@ describe('<CurrencySelector/>', () => {
set_currency: true,
};
renderComponent({ props: new_props });
expect(screen.getByRole('heading', { name: /cryptocurrencies/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /tether erc20 \(eusdt\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /usd coin \(usdc\)/i })).toBeInTheDocument();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ const CurrencySelector = observer(
<React.Fragment>
<RadioButtonGroup
className='currency-selector__radio-group currency-selector__radio-group--with-margin'
label={localize('Cryptocurrencies')}
mitra-deriv marked this conversation as resolved.
Show resolved Hide resolved
item_count={
reorderCurrencies(
crypto as keyof typeof reorderCurrencies,
Expand Down
Loading