Skip to content

Commit

Permalink
changed some var
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChetverov committed Nov 14, 2023
1 parent 9ec7a98 commit 3428538
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/microapps-ui-xcm/microapps-ui-main.accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ import { Sidebar } from "../../utils/frontend/microapps-pages/Sidebar";
import { LiqPools } from "../../utils/frontend/microapps-pages/LiqPools";
import { LiqPoolDetils } from "../../utils/frontend/microapps-pages/LiqPoolDetails";
import { Swap } from "../../utils/frontend/microapps-pages/Swap";
import {
INIT_KSM_RELAY,
KSM_ASSET_NAME,
KSM_FULL_NAME,
MGX_ASSET_NAME,
} from "../../utils/frontend/microapps-pages/UiConstant";

jest.spyOn(console, "log").mockImplementation(jest.fn());
jest.setTimeout(1500000);
Expand All @@ -48,10 +54,6 @@ let kusama: ApiContext;
let mangata: ApiContext;

const acc_name = "acc_automation";
const MGX_ASSET_NAME = "MGX";
const KSM_ASSET_NAME = "KSM";
const KSM_FULL_NAME = "Kusama Native";
const INIT_KSM_RELAY = 15;
const { mnemonicPolkadotEd25519, mnemonicPolkadotEcdsa } =
getEnvironmentRequiredVars();

Expand Down
4 changes: 4 additions & 0 deletions utils/frontend/microapps-pages/UiConstant.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const MGX_ASSET_NAME = "MGX";
export const KSM_ASSET_NAME = "KSM";
export const KSM_FULL_NAME = "Kusama Native";
export const INIT_KSM_RELAY = 15;

0 comments on commit 3428538

Please sign in to comment.