@getclave/lifi-sdk
Version:
LI.FI Any-to-Any Cross-Chain-Swap SDK
19 lines (18 loc) • 777 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const vitest_1 = require("vitest");
const api_1 = require("./api");
(0, vitest_1.describe)('ApiService Integration Tests', () => {
(0, vitest_1.it)('should successfully request a quote', async () => {
const quote = await (0, api_1.getQuote)({
fromChain: '1',
fromToken: '0x0000000000000000000000000000000000000000',
fromAddress: '0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0',
fromAmount: '1000000000000000000',
toChain: '137',
toToken: '0x0000000000000000000000000000000000000000',
// allowBridges: ['hop', 'multichain'],
});
(0, vitest_1.expect)(quote).toBeDefined();
}, 100000);
});