Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante committed Jan 27, 2022
1 parent 53cdd07 commit 09c911a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/auction-house.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,12 @@ describe("auction-house", () => {
AUCTION_HOUSE_PROGRAM_ID
);
// Before state.
const beforeEscrowState = await authorityClient.provider.connection.getAccountInfo(
buyerEscrow
);
const beforeSeller = await authorityClient.provider.connection.getAccountInfo(
sellerWallet.publicKey
);
const beforeEscrowState =
await authorityClient.provider.connection.getAccountInfo(buyerEscrow);
const beforeSeller =
await authorityClient.provider.connection.getAccountInfo(
sellerWallet.publicKey
);

// Execute trade.
const buyerPrice = new u64(2 * 10 ** 9);
Expand All @@ -353,12 +353,12 @@ describe("auction-house", () => {
console.log("executeSale:", txSig);

// After state.
const afterEscrowState = await authorityClient.provider.connection.getAccountInfo(
buyerEscrow
);
const afterSeller = await authorityClient.provider.connection.getAccountInfo(
sellerWallet.publicKey
);
const afterEscrowState =
await authorityClient.provider.connection.getAccountInfo(buyerEscrow);
const afterSeller =
await authorityClient.provider.connection.getAccountInfo(
sellerWallet.publicKey
);

// Assertions.
assert.ok(afterEscrowState === null);
Expand Down

0 comments on commit 09c911a

Please sign in to comment.