Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
heliuchuan committed Feb 14, 2025
1 parent ba78ccc commit d67be68
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/e2e/api/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@ describe("account api", () => {
// Check if the lookup account address is the same as the original account address
expect(lookupAccountAddress).toStrictEqual(account.accountAddress);

const rotatedAccount = Account.fromPrivateKey({ privateKey: rotateToPrivateKey, address: account.accountAddress });
const rotatedAccount = Account.fromPrivateKey({
privateKey: rotateToPrivateKey,
address: account.accountAddress,
});
await simpleCoinTransactionHeler(aptos, rotatedAccount, Account.generate());
});
});
Expand Down Expand Up @@ -447,7 +450,10 @@ describe("account api", () => {
});
expect(accountInfo.authentication_key).toEqual(newAuthKey.toString());

const rotatedAccount = Account.fromPrivateKey({ privateKey: newAccount.privateKey, address: newAccount.accountAddress });
const rotatedAccount = Account.fromPrivateKey({
privateKey: newAccount.privateKey,
address: newAccount.accountAddress,
});
await simpleCoinTransactionHeler(aptos, rotatedAccount, Account.generate());
});
});

0 comments on commit d67be68

Please sign in to comment.