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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user