Skip to content

Commit 722680f

Browse files
committed
pumb oraidex common
1 parent e4884e2 commit 722680f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/oraidex-common/tests/helper.spec.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ import path from "path";
77
import { fileURLToPath } from "url";
88
import { beforeAll, describe, expect, it } from "vitest";
99
import { OraidexCommon } from "../src/common";
10-
import { AIRI_CONTRACT, AVERAGE_COSMOS_GAS_PRICE, BTC_CONTRACT, MILKYBSC_ORAICHAIN_DENOM, ORAI } from "../src/constant";
10+
import {
11+
AIRI_CONTRACT,
12+
AVERAGE_COSMOS_GAS_PRICE,
13+
BTC_CONTRACT,
14+
MILKYBSC_ORAICHAIN_DENOM,
15+
ORAI,
16+
WETH_CONTRACT
17+
} from "../src/constant";
1118
import {
1219
calculateMinReceive,
1320
calculateTimeoutTimestamp,
@@ -706,7 +713,7 @@ describe("should helper functions in helper run exactly", () => {
706713
["", null],
707714
["orai333", null],
708715
["orai", { native_token: { denom: "orai" } }],
709-
[BTC_CONTRACT, { token: { contract_addr: BTC_CONTRACT } }]
716+
[WETH_CONTRACT, { token: { contract_addr: WETH_CONTRACT } }]
710717
])("test-generateConvertErc20Cw20Message-should-return-correct-message", (addressOrDenom, expectedMessage) => {
711718
const result = parseAssetInfoFromContractAddrOrDenom(addressOrDenom, oraidexCommon.cosmosTokens);
712719
expect(result).toEqual(expectedMessage);

0 commit comments

Comments
 (0)