Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8685a2c

Browse files
authoredJun 9, 2025··
Merge pull request #1658 from drift-labs/lukas/fix-prettier-sdk
fix: protocol test prettier fix
2 parents 6827402 + 6d79ada commit 8685a2c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed
 

‎tests/driftClient.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,9 @@ describe('drift client', () => {
423423
assert.ok(orderActionRecord.baseAssetAmountFilled.eq(new BN(24000000000)));
424424
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(24000000)));
425425
assert.ok(orderActionRecord.marketIndex === 0);
426-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000)));
426+
assert.ok(
427+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000))
428+
);
427429
assert.ok(orderActionRecord.takerExistingBaseAssetAmount === null);
428430
});
429431

@@ -491,8 +493,12 @@ describe('drift client', () => {
491493
assert.ok(orderActionRecord.baseAssetAmountFilled.eq(new BN(48000000000)));
492494
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(48000000)));
493495

494-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000001)));
495-
assert.ok(orderActionRecord.takerExistingBaseAssetAmount.eq(new BN(24000000000)));
496+
assert.ok(
497+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000001))
498+
);
499+
assert.ok(
500+
orderActionRecord.takerExistingBaseAssetAmount.eq(new BN(24000000000))
501+
);
496502

497503
assert.ok(orderActionRecord.marketIndex === 0);
498504
});
@@ -541,7 +547,9 @@ describe('drift client', () => {
541547
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(24000000)));
542548
assert.ok(orderActionRecord.marketIndex === 0);
543549

544-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000)));
550+
assert.ok(
551+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000))
552+
);
545553
assert.ok(orderActionRecord.takerExistingBaseAssetAmount === null);
546554
});
547555

0 commit comments

Comments
 (0)
Please sign in to comment.