Skip to content

Commit

Permalink
chore: Renaming of Basket Indices to Baskets (#8995)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-deriv authored Jun 22, 2023
1 parent 0472364 commit 197682c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const getJurisdictionBviContents = (): TJurisdictionCardItems => ({
{
key: 'assets',
title: localize('Assets'),
description: localize('Synthetics, Basket indices and Derived FX'),
description: localize('Synthetics, Baskets and Derived FX'),
title_indicators: {
type: 'displayText',
display_text: localize('40+'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const getJurisdictionSvgContents = (): TJurisdictionCardItems => ({
{
key: 'assets',
title: localize('Assets'),
description: localize('Synthetics, Basket indices and Derived FX'),
description: localize('Synthetics, Baskets and Derived FX'),
title_indicators: {
type: 'displayText',
display_text: localize('40+'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const getJurisdictionVanuatuContents = (): TJurisdictionCardItems => ({
{
key: 'assets',
title: localize('Assets'),
description: localize('Synthetics, Basket indices and Derived FX'),
description: localize('Synthetics, Baskets and Derived FX'),
title_indicators: {
type: 'displayText',
display_text: localize('40+'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('JurisdictionCard', () => {
expect(screen.getByText('St. Vincent & Grenadines')).toBeInTheDocument();
expect(screen.getByText('Assets')).toBeInTheDocument();
expect(screen.getByText('40+')).toBeInTheDocument();
expect(screen.getByText('Synthetics, Basket indices and Derived FX')).toBeInTheDocument();
expect(screen.getByText('Synthetics, Baskets and Derived FX')).toBeInTheDocument();
expect(screen.getByText('Leverage')).toBeInTheDocument();
expect(screen.getByText('1:1000')).toBeInTheDocument();
expect(screen.getByText('Verifications')).toBeInTheDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe('JurisdictionModalContent', () => {
it('should display content of 3 types of jurisdiction correctly for synthetics account', () => {
render(<JurisdictionModalContent {...mock_props} account_type='synthetic' />);
expect(screen.getAllByText('Assets')).toHaveLength(3);
expect(screen.getAllByText('Synthetics, Basket indices and Derived FX')).toHaveLength(3);
expect(screen.getAllByText('Synthetics, Baskets and Derived FX')).toHaveLength(3);
expect(screen.getAllByText('40+')).toHaveLength(3);
expect(screen.getAllByText('Leverage')).toHaveLength(3);
expect(screen.getAllByText('1:1000')).toHaveLength(3);
Expand Down Expand Up @@ -327,7 +327,7 @@ describe('JurisdictionModalContent', () => {
expect(screen.getByText('Regulator/EDR')).toBeInTheDocument();
expect(screen.getByText('Deriv (SVG) LLC (company no. 273 LLC 2020)')).toBeInTheDocument();
expect(screen.getByText('40+')).toBeInTheDocument();
expect(screen.getByText('Synthetics, Basket indices and Derived FX')).toBeInTheDocument();
expect(screen.getByText('Synthetics, Baskets and Derived FX')).toBeInTheDocument();
});

it('should display cfd-jurisdiction-card--all__wrapper in class name', () => {
Expand Down

0 comments on commit 197682c

Please sign in to comment.