Update fullstack guidelines to use 'bun' instead of 'npm' for testing; modify package.json to lock specific versions of dependencies for consistency; adjust TypeScript code for improved type handling in simulateExecuteOrder function; enhance swap-tokens test with additional parameters for better coverage.

This commit is contained in:
2025-12-19 12:07:54 +07:00
parent 6d64af7c01
commit e6880c9b18
4 changed files with 28 additions and 22 deletions

View File

@@ -13,9 +13,12 @@ describe('swap tokens implementation', () => {
console.log('Account', sdk.account)
const result = await swapGmxTokensImpl(
sdk,
Ticker.BTC,
Ticker.BTC,
Ticker.USDC,
0.00007559
0.00006893,
'market',
undefined,
0.5
)
assert.strictEqual(typeof result, 'string')