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
…#8552)

This reverts commit b457650.
  • Loading branch information
sandeep-deriv authored May 10, 2023
1 parent 08fe6e7 commit 5a26ad8
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

1 comment on commit 5a26ad8

@vercel
Copy link

@vercel vercel bot commented on 5a26ad8 May 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app-git-master.binary.sx
binary.sx
deriv-app.vercel.app
deriv-app.binary.sx

Please sign in to comment.