Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
00xSam committed Aug 10, 2024
1 parent 40b8efa commit 07c5474
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ts-client/src/vault/tests/vault.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ describe('Get Mainnet vault state', () => {

// Make sure all vaults can be initialized
beforeAll(async () => {
const tokensMint = [NATIVE_MINT, USDC_MINT, USDT_MINT];
const tokensInfoPda = tokensMint.map((tokenMint) => {
const vaultPdas = getVaultPdas(tokenMint, new PublicKey(PROGRAM_ID));
const tokenAddresses = [NATIVE_MINT, USDC_MINT, USDT_MINT];
const tokensInfoPda = tokenAddresses.map((tokenAddress) => {
const vaultPdas = getVaultPdas(tokenAddress, new PublicKey(PROGRAM_ID));
return {
tokenMint,
tokenAddress,
...vaultPdas,
};
});
vaults = await VaultImpl.createMultiple(mainnetConnection, tokensMint);
vaults = await VaultImpl.createMultiple(mainnetConnection, tokenAddresses);
vaultsForPool = await VaultImpl.createMultipleWithPda(mainnetConnection, tokensInfoPda);
});

Expand Down

0 comments on commit 07c5474

Please sign in to comment.