Skip to content

Commit

Permalink
Revert "thisyahlen/chore: add test coverage in asset-summary (#8329)"
Browse files Browse the repository at this point in the history
This reverts commit b457650.
  • Loading branch information
sandeep-deriv committed May 10, 2023
1 parent 08fe6e7 commit eee0ba9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 267 deletions.

This file was deleted.

17 changes: 0 additions & 17 deletions packages/stores/src/mockStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ const mock = (): TStores & { is_mock: boolean } => {
current_language: 'EN',
is_network_online: false,
is_language_changing: false,
getExchangeRate: jest.fn(),
},
ui: {
app_contents_scroll_ref: {
Expand Down Expand Up @@ -261,22 +260,6 @@ const mock = (): TStores & { is_mock: boolean } => {
is_real: false,
selectRegion: jest.fn(),
is_low_risk_cr_eu_real: false,
platform_real_balance: {
currency: '',
balance: 0,
},
cfd_demo_balance: {
currency: '',
balance: 0,
},
platform_demo_balance: {
currency: '',
balance: 0,
},
cfd_real_balance: {
currency: '',
balance: 0,
},
financial_restricted_countries: false,
selected_account_type: 'real',
no_CR_account: false,
Expand Down
17 changes: 0 additions & 17 deletions packages/stores/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ type TCommonStore = {
changeSelectedLanguage: (key: string) => void;
current_language: string;
is_language_changing: boolean;
getExchangeRate: (from_currency: string, to_currency: string) => Promise<number>;
};

type TUiStore = {
Expand Down Expand Up @@ -290,22 +289,6 @@ type TTradersHubStore = {
setTogglePlatformType: (platform_type: string) => void;
is_real: boolean;
selectRegion: (region: string) => void;
platform_real_balance: {
currency: string;
balance: number;
};
cfd_demo_balance: {
currency: string;
balance: number;
};
platform_demo_balance: {
currency: string;
balance: number;
};
cfd_real_balance: {
currency: string;
balance: number;
};
financial_restricted_countries: boolean;
selected_account_type: string;
no_CR_account: boolean;
Expand Down

0 comments on commit eee0ba9

Please sign in to comment.